Extend
Resize GenomicRanges upstream and or downstream. From https://support.bioconductor.org/p/78652/
Extend(x, upstream = 0, downstream = 0, from.midpoint = FALSE)
x
: A rangeupstream
: Length to extend upstreamdownstream
: Length to extend downstreamfrom.midpoint
: Count bases from region midpoint, rather than the 5' or 3' end for upstream and downstream respectively.Returns a GRanges
object
Extend(x = blacklist_hg19, upstream = 100, downstream = 100)
Useful links