Skip to contents

The goal for this function is to eliminate the need to lug around large packages when we only want seqlengths for things.

Usage

getSeqLengths(genome.gr, chr = "chr14")

Arguments

genome.gr

A GRanges object of the genome (from getGenome())

chr

What chromosome to extract the seqlengths of

Value

The seqlengths of a specific chromosome

Examples

hg19.chr14.seqlengths <- getSeqLengths(getGenome('hg19'), chr = "chr14")