getSeqLengths: Get the seqlengths of a chromosome from a given genome's...

View source: R/utils.R

getSeqLengthsR Documentation

Get the seqlengths of a chromosome from a given genome's GRanges

Description

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")


biobenkj/compartmap documentation built on April 5, 2025, 9:17 a.m.