Skip to contents

chromosomes() returns mouse chromosome names.

Usage

chromosomes(autosomal = TRUE, sexual = TRUE, mitochondrial = TRUE)

Arguments

autosomal

Whether to include the autosomal chromosomes (1 thru 19).

sexual

Whether to include the sexual chromosomes (X and Y).

mitochondrial

Whether to include the mitochondrial chromosome (MT).

Value

A character vector of mouse chromosome names, or a subset thereof, or an empty character vector.

Examples

# All chromosomes.
chromosomes()
#>  [1] "1"  "2"  "3"  "4"  "5"  "6"  "7"  "8"  "9"  "10" "11" "12" "13" "14" "15"
#> [16] "16" "17" "18" "19" "X"  "Y"  "MT"

# Autosomal chromosomes.
chromosomes(autosomal = TRUE, sexual = FALSE, mitochondrial = FALSE)
#>  [1] "1"  "2"  "3"  "4"  "5"  "6"  "7"  "8"  "9"  "10" "11" "12" "13" "14" "15"
#> [16] "16" "17" "18" "19"