Learn R Programming

beadarray (version 2.22.2)

identifyControlBeads: Classify each bead according to its control status

Description

Using the control annotation specified for the array, the function will classify each bead as belonging to a control group, or as being a regular probe.

Usage

identifyControlBeads(BLData, array = 1, controlProfile = NULL)

Arguments

BLData
a beadLevelData object
array
the numeric id of the array section
controlProfile
an optional control profile data frame

Value

a vector of character strings giving the status of each bead

Details

The function requires either that a control profile data frame is specified (This associates probe IDs with their control status - see the example), or that the annotation of the beadLevelData object be set to an array that the package recognises (see getAnnotation). Note that some positive control bead-types may also be functioning 'regular' probes.

Examples

Run this code

if(require(beadarrayExampleData)){

data(exampleBLData)

statVec = identifyControlBeads(exampleBLData)

table(statVec)


}

Run the code above in your browser using DataLab