extract_CPGs: Extracts all CpGs from a genome

Description Usage Arguments Value Examples

View source: R/extract_CpGs.R

Description

Extracts all CpGs from a genome

Usage

1
extract_CPGs(ref_genome = NULL)

Arguments

ref_genome

BSgenome object or name of the installed BSgenome package. Example: BSgenome.Hsapiens.UCSC.hg19

Value

a list of data.table containing number of CpG's and contig lengths

Examples

1
2
3
4
## Not run: 
hg19_cpgs = methrix::extract_CPGs(ref_genome = 'BSgenome.Hsapiens.UCSC.hg19')

## End(Not run)

methrix documentation built on Feb. 13, 2021, 2 a.m.