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
Value
Return the methyLumiM object with the controlData added
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.