chrNames {genoset} | R Documentation |
Get list of unique chromosome names
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
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))