addControlData2methyLumiM {lumi} | R Documentation

## Add methylation control data to a MethyLumiM object

### Description

Add methylation control data to a MethyLumiM object

### Usage

    addControlData2methyLumiM(controlData, methyLumiM, checkConsistency = TRUE, ...)

### Arguments

`controlData` | a methylation control data file (output by GenomeStudio), or a MethyLumiQC object
`methyLumiM` | a MethyLumiM object to add control data
`checkConsistency` | whether to check the sample names consistency between methyLumiM and controlData
`...` | other parameters for reading controlData

### Details

This function aims to add the controlData (MethyLumiQC object) to the controlData slot of a methyLumiM object For control data, methylated data matrix in assayData slot corresponds to green channel, and unmethylated data matrix in assayData slot corresponds to red channel.

### Value

Return the methyLumiM object with the controlData added

### Author(s)

Pan DU

### See Also

`lumiMethyR`

[Package lumi version 2.44.0 Index]