Learn R Programming

superFreq (version 1.2.3)

chrLengths: The lengths of the chromsomes

Description

The lengths of the chromsomes

Usage

chrLengths(genome = "hg19")

Arguments

genome

character: the name of the genome. hg19, hg38 and mm10 supported atm.

Details

Returns a named vector of the chromosome lengths of the standard chromosomes.

Examples

Run this code
# NOT RUN {
barplot(chrLengths())
chrLengths('mm10')

#the chromosome boundaries in the genomic x coordinate.
plot(c(0, cumsum(chrLengths())), type='b')

# }

Run the code above in your browser using DataLab