extract_CpGs: Extracts all CpGs from a genome

Description Usage Arguments Value Examples

View source: R/coord_ops.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)

CompEpigen/scMethrix documentation built on Nov. 6, 2021, 3:09 p.m.