Description Usage Arguments Value Examples
Select only data from autosomes from a GRanges/RangedData object. Will exclude X,Y, mitochondrial chromosome rows, and can automatically detect whether chromosomes are coded as 'chr1' or just '1', etc.
1 | select.autosomes(ranges, deselect = FALSE)
|
ranges |
A RangedData or GRanges object |
deselect |
logical, if TRUE, then will select non-autosomes |
an object of the same format as the input (ranges), except with non-autosomal ranges removed.
1 2 3 | rand.ranges <- rranges(chr.range=20:26)
rand.ranges # should include some non-autosomes
select.autosomes(rand.ranges) # only autosomes remain
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.