Learn R Programming

genoset (version 1.24.0)

chrNames: Get list of unique chromosome names

Description

Get list of unique chromosome names

Usage

chrNames(object)
"chrNames"(object)
"chrNames"(object)
chrNames(object) <- value
"chrNames"(object) <- value
"chrNames"(object) <- value

Arguments

object
GenomicRanges or GenoSet
value
return value of chrNames

Value

character vector with names of chromosomes

Examples

Run this code
data(genoset)
  chrNames(genoset.ds) # c("chr1","chr3","chrX")
  chrNames(locData(genoset.ds))  # The same
  chrNames(genoset.ds) = sub("^chr","",chrNames(genoset.ds))

Run the code above in your browser using DataLab