centromere: Retrieve base positions of centromeres

Description Usage Arguments Value Examples

View source: R/mBPCR.R

Description

Function to retrieve base positions of the centromere of a specific chromosome.

Usage

1
  centromere(chr, hg='hg18')

Arguments

chr

chromosome of which you want to retrieve the centromere base positions.

hg

genome build used for retrieving the centromere base positions of the selected chromosome. Current available options are: 'hg18', 'hg19' and 'hg38'.

Value

The function returns the start and end base positions of the centromere of the selected chromosome, by using the specified genome build. The function is based on the annotation provided in the package GWASTools.

Examples

1
2
#centromere base positions of chromosome 1 in genome build hg18
centromere(1, hg='hg18')

paolarancoita/mBPCR documentation built on Jan. 12, 2020, 6:24 p.m.