Learn R Programming

AssayCorrector (version 2.0.0)

correct_bias: Correct the bias present in the assay, previously detected by the detect_bias() method

Description

correct_bias() (1) uses either of the three additive or either of the three multiplicative PMP (Partial Mean Polish) methods (the most appropriate spatial bias model can be either specified or determined by the program following the results of the Kolmogorov-Smirnov, Anderson-Darling or Cramer-von-Mises two-sample test) to correct the assay measurements if the plate-specific correction is specified; (2) carries out the assay-specific correction if specified.

Usage

correct_bias(assay, method = NULL, alpha = 0.05, type = "PA")

Arguments

assay

The assay to be corrected. Has to be an assay object.

method

NULL:autodetect (default), 1:additive, 2:multiplicative

alpha

Significance level threshold (defaults to 0.05)

type

P:plate-specific, A:assay-specific, PA:plate then assay-specific, AP:assay then plate-specific

Value

The corrected assay (assay object)

Examples

Run this code
# NOT RUN {
assay<-create_assay(m)
detected<-detect_bias(assay)
corrected<-correct_bias(detected,method=2)
# }

Run the code above in your browser using DataLab