getControlType {lumi} | R Documentation |
Get the types of the control probes, which is in the first column of the controlData data.frame for LumiBatch objects. For methylation data, it is the return of controlTypes function
getControlType(controlData)
controlData |
a LumiBatch object including control data, a control data data.frame, or a MethyLumiQC object for methylation data |
return the unique type of control probe type.
Pan Du
addControlData2lumi
, controlTypes
for methylation data
controlFile <- system.file('doc', 'Control_Probe_Profile.txt', package='lumi') if (file.exists(controlFile)) { ## return a data.frame controlData <- getControlData(controlFile) getControlType(controlData) }