midpoint.bed: Determine the midpoint of an interval

Description Usage Arguments Value Author(s) Examples

Description

Determine the midpoint of an interval

Usage

1

Arguments

x

a data.frame representation of a BED file

Value

a data.frame like x, with chromStart and chromEnd updated to reflect the midpoint.

Author(s)

Mark Cowley, 2011-11-29

Examples

1
2
bed <- data.frame(chrom="chr1", chromStart=c(100,200,300), chromEnd=c(110, 250, 500))
midpoint.bed(bed)

drmjc/blat documentation built on May 15, 2019, 2:22 p.m.