centromere: Coordinates of centromere

Description Usage Arguments Value Author(s) Examples

View source: R/idiogram-functions.R

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

Example output

No methods found in "RSQLite" for requests: dbGetQuery
Welcome to SNPchip version 2.22.0
Warning message:
In read.dcf(con) :
  URL 'http://bioconductor.org/BiocInstaller.dcf': status was 'Couldn't resolve host name'
[1] 121147476 123387476
[1] 121147476 123387476
[1] 121147476 123387476
[1] 121535434 124535434
[1] 58465033 61465033

SNPchip documentation built on May 2, 2018, 6:06 p.m.