find_CpG: CpG coordinates on a chromosome

Description Usage Arguments Details Value References

View source: R/find_CpG.R

Description

For a given chromosome, returns positions of all "CG" dinucleotides (CpG sites) based on a human genome assembly hg19. If minimum or maximum position is given, only CpGs in the given range are returned.

Usage

1
find_CpG(chromosome, min_coord = NULL, max_coord = NULL)

Arguments

chromosome

Name of a human chromosome in the format '"chr?"', where '"?"' must either be a number from '1' to '22' or '"X"' or '"Y"'.

min_coord

Minimum returned coordinate.

max_coord

Maximum returned coordinate.

Details

Returned position is a position of "C". The same convention is used by Illumina Infinium HM450K manifest file. Function is based on R package '"BSgenome.Hsapiens.UCSC.hg19"' \insertCiteteam2020bsgenomemeNet.

Value

Vector of CpG coordinates.

References

\insertAllCited
ivabudimir/meNet documentation built on Dec. 20, 2021, 8:03 p.m.