Description Usage Arguments Details Value Examples
Returns an object of the same type and length as x containing downstream ranges. The output range is defined as
1 | downstreams(gr, upstream, downstream)
|
gr |
A GenomicRanges object |
upstream, downstream |
non-negative interges. |
(end(x) - upstream) to (end(x) + downstream -1)
for ranges on the + and * strand, and as
(start(x) - downstream + 1) to (start(x) + downstream)
for ranges on the - strand.
Note that the returned object might contain out-of-bound ranges.
A GenomicRanges object
1 2 | gr <- GRanges("chr1", IRanges(rep(10, 3), width=6), c("+", "-", "*"))
downstreams(gr, 2, 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.