grow.bed: grow the intervals in a bed file

Description Usage Arguments Value TODO Author(s)

Description

The galaxy flank tool returns only the flanks, not the original regions. grow aims to provide the functionality of flank,\ but also return the original regions. ie, the seed regions will grow. Since the regions grow, an offset is not supported.

Usage

1
  grow.bed(x, upstream = 0, downstream = 0)

Arguments

x

a data.frame from import.ucsc.blat

upstream

numeric(1) indicating the nuber of bases to grow in the upstream direction. default=0

downstream

numeric(1) indicating the nuber of bases to grow in the downstream direction. default=0

Value

a data.frame

TODO

Add a check to make sure the regions don't extend beyond the end of a chromosome.

Author(s)

Mark Cowley, 2011-11-29


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