Coordinates of centromere

Description

Extracts coordinates of centromere for a particular chromosome

Usage

1
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

Author(s)

R. Scharpf

Examples

1
2
3
4
5
centromere(1, "hg18")
centromere("1", "hg18")
centromere("chr1", "hg18")
centromere(1, "hg19")
centromere("X", "hg18")