Description Usage Arguments Details Value Author(s) See Also Examples
Extract a subset of the HTCexp
object based on genomic ranges
1 | extractRegion(x, MARGIN, chr, from, to, exact=FALSE)
|
x |
object that inherits from class |
MARGIN |
a vector giving the subscripts which the function will be applied over as in 'apply' function. E.g., '1' for the 'x' intervals, and '2' for the 'y' intervals, 'c(1, 2)' indicates 'x' and 'y' intervals. |
chr |
character; the chromosome of the genomic region |
from |
numeric; start of the genomic region |
to |
numeric; end of the genomic region |
exact |
logical; exact genomic region |
By default, only the intervals fully included in the genomic ranges are returned. If exact is true, the overlapping intervals are also used, and forced to start/end at the specified position. If no intervals are overlapping, an interval with NA values is added.
A HTCexp
object
N. Servant
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.