Description Usage Arguments Value Examples
Sometimes it is handy to know the first and last index for each chr. This is like chrInfo but for feature indices rather than chromosome locations. If chr is specified, the function will return a sequence of integers representing the row indices of features on that chromosome.
1 2 3 4 | chrIndices(object, chr = NULL)
## S4 method for signature 'GenoSetOrGenomicRanges'
chrIndices(object, chr = NULL)
|
object |
GenoSet or GRanges |
chr |
character, specific chromosome name |
data.frame with 'first' and 'last' columns
1 2 3 | data(genoset,package='genoset')
chrIndices(genoset.ds)
chrIndices(rowRanges(genoset.ds)) # The same
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.