Autosomes and X, Y, MT chromosomes
Test if a chromosome id corresponds to an autosome or to X, Y, MT chromosomes
is.autosome(chr) is.chr.x(chr) is.chr.y(chr) is.chr.mt(chr)
chr |
A vector of chromosome ids |
These functions work by comparing the ids given in parameters with
the options gaston.autosomes
, gaston.chr.x
, gaston.chr.y
,
gaston.chr.mt
.
For example, is.autosome(chr)
is a short cut for
chr %in% getOption("gaston.autosomes")
.
A logical vector.
Hervé Perdry
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.