View source: R/genomicRegions.R
getSeqlengths4assembly | R Documentation |
retrieve chromosomes/contigs and their sequence lengths for known assemblies
getSeqlengths4assembly(assembly, onlyMainChrs = FALSE, adjChrNames = TRUE)
assembly |
assembly |
onlyMainChrs |
should only main chromosomes, i.e. chr[1-N] + chr[XYM] be returned (e.g. not ChrUn*, *_random, ...) |
adjChrNames |
should the prefix "chr" be added to main chromosomes if not already present and chrMT be renamed to chrM? |
named vector of chromosomes/contigs and sequence lengths
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.