identifyControlBeads {beadarray} | R Documentation

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

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

### Value

a vector of character strings giving the status of each bead

### Author(s)

Mark Dunning

### Examples

    if(require(beadarrayExampleData)){

    data(exampleBLData)

    statVec = identifyControlBeads(exampleBLData)

    table(statVec)

    }

[Package beadarray version 2.34.0 Index]