findBeadStatus {beadarray}R Documentation

Find Outliers

Description

Function finds all beads which are outliers for a given bead type

Usage

findBeadStatus(BLData, probes, array, log=FALSE, n=3, outputValid = FALSE, intProbeID = NULL, ignoreList=NULL, probeIndex=NULL, startSearch=1)
getProbeIntensities(BLData, ProbeIDs, array,log=TRUE)

Arguments

BLData BeadLevelList object containing bead level data
probes numeric vector for the ProbeIDs of the bead type we want to find outliers for
array numeric value for the array we want to find outliers on
log if TRUE the log2 intensities of each bead will be used to find outliers. Otherwise un-logged data is used
n numeric value defining a cut-off of 'n' median absolute deviations from the mean to determine outliers. The default value is 3
outputValid if TRUE the IDs of beads which are not outliers will be output
intProbeID BLData$ProbeID coerced to vector of integers. Never change this, for internal use only
ignoreList list of ProbeIDs to be omitted from the averaging procedure. These could be Illumina internal controls which are replicated many thousands of times on arrays
probeIndex parameter for internal use only
startSearch integer specify where to start searching for a particular ProbeID
ProbeIDs numeric vector for the ProbeIDs of the bead type we want to find outliers for

Details

The intensities of each bead with ProbeID 'probe' on the specified array are found and if the 'log' parameter is set to true we do a log2 transformation on the set of values.

The mean and median absolute deviation of all the bead intensities are then calculated. Outliers are beads which have intensity more than 'n' median absolute deviations from the mean.

The method used by Illumina is to use un-logged intensities with a value 'n' = 3.

Any beads which have intensity NA are also counted as outliers

The function returns only the outliers for a bead type unless the outputValid parameter is specified.

Value

List of beadIDs (1-49777) dividing the beads of this bead type into two categories.

valid valid beads
outliers beads which are calculated as outliers

Author(s)

Mike Smith and Mark Dunning

See Also

findAllOutliers

Examples


data(BLData)

findBeadStatus(BLData, 70450, 1, outputValid=TRUE)

findBeadStatus(BLData, 70450, 1, log=TRUE, outputValid=TRUE)

getProbeIntensities(BLData, 70450, 1)



[Package beadarray version 1.2.2 Index]