Description Usage Arguments Value Examples
Get list of unique chromosome names
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | chrNames(object)
## S4 method for signature 'GenoSet'
chrNames(object)
## S4 method for signature 'GenomicRanges'
chrNames(object)
chrNames(object) <- value
## S4 replacement method for signature 'GenoSet'
chrNames(object) <- value
## S4 replacement method for signature 'GenomicRanges'
chrNames(object) <- value
|
object |
GenomicRanges or GenoSet |
value |
return value of chrNames |
character vector with names of chromosomes
1 2 3 4 | data(genoset,package='genoset')
chrNames(genoset.ds) # c('chr1','chr3','chrX')
chrNames(rowRanges(genoset.ds)) # The same
chrNames(genoset.ds) = sub('^chr','',chrNames(genoset.ds))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.