getmeth {ENmix} | R Documentation

## Create a methDataSet

### Description

To create a methDataSet based on a rgDataset

### Usage

    getmeth(rgSet)

### Arguments

`rgSet` | An object of class `rgDataSet`

### Details

CpG annotation information is incorporated in the output methDataSet object, and can be extracted using command `rowData().`

### Value

An object of class `methDataSet`

### Author(s)

Zongli Xu

### Examples

    require(minfiData)
    path <- file.path(find.package("minfiData"),"extdata")
    #based on rgDataset
    rgSet <- readidat(path = path,recursive = TRUE)
    meth=getmeth(rgSet)
    meth
    cginfo=rowData(meth)

[Package ENmix version 1.30.03 Index]