is.autosome {gaston}R Documentation

Autosomes and X, Y, MT chromosomes

Description

Test if a chromosome id corresponds to an autosome or to X, Y, MT chromosomes

Usage

  is.autosome(chr)
  is.chr.x(chr)
  is.chr.y(chr)
  is.chr.mt(chr)

Arguments

chr

A vector of chromosome ids

Details

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

Value

A logical vector.

Author(s)

Hervé Perdry


[Package gaston version 1.6 Index]