Description Usage Arguments Value Examples
View source: R/overlapIntervalSets.R
Intersect a list of GRanges to create a single GRanges object of merged ranges including metadata describing overlaps per input GRanges
1 | ssvOverlapIntervalSets(grs, ext = 0, use_first = FALSE, ...)
|
grs |
A list of GRanges |
ext |
An integer specifying how far to extend ranges before merging. in effect, ranges withing 2*ext of one another will be joined during the merge |
use_first |
A logical. If True, instead of merging all grs, only use first and add metadata logicals for others. |
... |
arguments passed to IRanges::findOverlaps, i.e. maxgap, minoverlap, type, select, invert. |
GRanges with metadata columns describing overlap of input grs.
1 2 3 4 | library(GenomicRanges)
a = GRanges("chr1", IRanges(1:7*10, 1:7*10))
b = GRanges("chr1", IRanges(5:10*10, 5:10*10))
ssvOverlapIntervalSets(list(a, b))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.