Description Usage Arguments Details Author(s) See Also Examples
View source: R/beadLevelData_QC.R
Function to calculate the percentage of beads matching a defined set of control types that are detected as having intensity above background level on an array-section.
1 | controlProbeDetection(BLData, transFun = logGreenChannelTransform, array = 1, controlProfile = NULL, tagsToDetect = list(housekeeping = "housekeeping", Biotin = "phage_lambda_genome", Hybridisation = "phage_lambda_genome:high"), negativeTag = "permuted_negative", detThresh = 0.05)
|
BLData |
a |
transFun |
transformation to be applied to data |
array |
a numeric index of the array section |
controlProfile |
optional data frame defining ArrayAddressIDs belonging to each control type |
tagsToDetect |
vector of character strings defined which control types to interrogate |
negativeTag |
character string defining which control type to use as background |
detThresh |
numeric value for threshold for detection |
Details of the controls on the array-section can be inferred from the annotation of the beadLevelData
object or supplied as a data frame. The first column of the data frame should contain ArrayAddressIDs, with the control type of the each ID in the second column. The strings supplied in the tagsToDetect
and negativeTag
parameters should be present in this column.
The ArrayAddressIDs that correspond to the specified tags are matching to the ArrayAddressIDs for the chosen array and intensities for all beads are extracted. The function implements Illumina's method for calculating the detection scores for all bead types on a given array. Within an array, Illumina discard negative control bead-types whose summary values are more than three MADs from the median for the negative controls. Illumina then rank the summarized intensity for each other bead-type against the summarized values for the remaining negative control bead-types and calculate a detection p-value 1-R/N, where R is the relative rank of the bead intensity when compared to the $N$ remaining negative controls. Thus, if a particular bead has higher intensity than all the negative controls it will be assigned a value of 0. This calculation is repeated for all arrays.
The percentage reported is the percentage of beads of each control type that are detected at the defined threshold.
Mark Dunning
beadStatusVector
,calculateDetection
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.