chromsizes: Get chromosome lengths for a specific genome build.

View source: R/chromsizes.R

chromsizesR Documentation

Get chromosome lengths for a specific genome build.

Description

Get chromosome lengths for a specific genome build.

Usage

chromsizes(build = c("mm9", "mm10", "37", "38", "NCBIm37", "GRCm38", "cf3",
  "hg19"), as.seqinfo = FALSE, ...)

Arguments

build

name of a genome build: one of "mm9", "mm10", "37", "38"

as.seqinfo

logical; if TRUE, return a Seqinfo object

...

ignored

Details

Chromosome names for "mm9" and "mm10" are in the "chr1", ..., "chrM" (UCSC) style. If you prefer Ensembl ("1", ..., "MT) style, use "37" or "38", respectively. If a Seqinfo object is requested but the appropriate package is not installed, the function will default to a named vector but issue a warning.

Value

either a named vector of chromosome lengths or a Seqinfo object for use with Bioconductor stack

See Also

Seqinfo


andrewparkermorgan/mouser documentation built on May 14, 2022, 8:06 p.m.