Description Usage Arguments Details Value Author(s) Examples
Find overlapping genomic regions
1 | percentOverlaps(query, subject, ...)
|
query |
a |
subject |
a |
... |
pass to |
For every interval in query
, it calculates the percent that is covered by subject
.
Be careful with strand
in your GRanges
object!!
A numeric vector which has the same length as query
.
Zuguang Gu <z.gu@dkfz.de>
1 2 3 4 | gr1 = GRanges(seqname = "chr1", ranges = IRanges(start = c(4, 10), end = c(6, 16)))
gr2 = GRanges(seqname = "chr1", ranges = IRanges(start = c(7, 13), end = c(8, 20)))
percentOverlaps(gr1, gr2)
percentOverlaps(gr2, gr1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.