View source: R/00.get_seqLen.R
get_seqLen | R Documentation |
Get sequence lengths for chromosomes/scaffolds from a BSgenome::BSgenome object
get_seqLen(genome = getInPASGenome(), chr2exclude = getChr2Exclude())
genome |
An object of BSgenome::BSgenome |
chr2exclude |
A character vector, NA or NULL, specifying chromosomes or
scaffolds to be excluded for InPAS analysis. |
A named numeric vector containing lengths per seqname, with the seqnames as the names
Jianhong Ou, Haibo Liu
GenomeInfoDb::Seqinfo
library(BSgenome.Mmusculus.UCSC.mm10) genome <- BSgenome.Mmusculus.UCSC.mm10 InPAS:::get_seqLen( genome = genome, chr2exclude = "chrM" )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.