getSeqLengths: Get the seqlengths of a chromosome

View source: R/utils.R

getSeqLengthsR Documentation

Get the seqlengths of a chromosome

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 = c("hg19", "hg38", "mm9", "mm10"), chr = "chr14")

Arguments

genome

The desired genome to use ("hg19", "hg38", "mm9", "mm10")

chr

What chromosome to extract the seqlengths of

Value

The seqlengths of a specific chromosome

Examples

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


biobenkj/compartmap documentation built on Oct. 18, 2023, 11:11 a.m.