Learn R Programming

SNPchip (version 2.18.0)

centromere: Coordinates of centromere

Description

Extracts coordinates of centromere for a particular chromosome

Usage

centromere(chromosome, build, verbose=FALSE)

Arguments

chromosome
Chromosome name. Several formats for specifying chromosome are allowed (see examples).
build
character string. Supported UCSC builds are `hg18' and `hg19'.
verbose
Logical. Displays build used to annotate the centromere coordinates when TRUE

Value

integer: start and stop coordinates of centromere in basepairs

Examples

Run this code
centromere(1, "hg18")
centromere("1", "hg18")
centromere("chr1", "hg18")
centromere(1, "hg19")
centromere("X", "hg18")

Run the code above in your browser using DataLab