propOverlap | R Documentation |
Find the proportion of a query reange which overlaps the subject
propOverlap(x, y, ...)
## S4 method for signature 'GRanges,GRanges'
propOverlap(x, y, ignore.strand = FALSE, ...)
x , y |
A GenomicRanges object |
... |
Not used |
ignore.strand |
If set to TRUE, then the strand of x and y is set to "*" prior to any computation. |
This behaves similarly to overlapsAny except the proportion of the query range which overlaps one or more subject ranges is returned instead of a logical vector
Numeric vector the same length as x
x <- GRanges("chr1:1-10")
y <- GRanges("chr1:1-5")
propOverlap(x, y)
propOverlap(y, x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.