Learn R Programming

RnBeads (version 1.4.0)

rnb.get.chromosomes: rnb.get.chromosomes

Description

Gets the chromosome names supported for the specified assembly.

Usage

rnb.get.chromosomes(assembly = "hg19")

Arguments

assembly
Genome assembly of interest. See rnb.get.assemblies for the list of supported genomes.

Value

character vector of supported chromosomes for the specified genome assembly. The elements of the vector follow the Ensembl convention ("1", "2", ...), and the names of this vector - the convention of the UCSC Genome Browser ("chr1", "chr2", ...).

Examples

Run this code

"chrX" %in% names(rnb.get.chromosomes())

Run the code above in your browser using DataLab