getControlType {lumi} | R Documentation

## 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.

### Author(s)

Pan Du

### See Also

`addControlData2lumi`, `controlTypes` for methylation data

### Examples

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

[Package lumi version 2.44.0 Index]