R/seqLen.R

Defines functions seqLen

Documented in seqLen

seqLen <- function(genome){
    if(!is(genome, "BSgenome")) stop("genome must be an object of BSgenome")
    seqnames <- trimSeqnames(genome)
    seqlengths(genome)[seqnames]
}

Try the InPAS package in your browser

Any scripts or data that you put into this service are public.

InPAS documentation built on Nov. 8, 2020, 5:03 p.m.