extract_CPGs {methrix} | R Documentation

## Extracts all CpGs from a genome

### Description

Extracts all CpGs from a genome

### Usage

    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

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

    ## End(Not run)

[Package methrix version 1.4.07 Index]