Learn R Programming

lumi (version 2.24.0)

getControlType: Get the types of the control probes

Description

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

Usage

getControlType(controlData)

Arguments

controlData
a LumiBatch object including control data, a control data data.frame, or a MethyLumiQC object for methylation data

Value

return the unique type of control probe type.

See Also

addControlData2lumi, controlTypes for methylation data

Examples

Run this code
	controlFile <- system.file('doc', 'Control_Probe_Profile.txt', package='lumi')
	if (file.exists(controlFile)) {
	  ## return a data.frame
	  controlData <- getControlData(controlFile)
	  getControlType(controlData)
	}

Run the code above in your browser using DataLab