correct_bias: Correct the bias present in the assay, previously detected by...

Description Usage Arguments Value Examples

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

1
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

1
2
3
assay<-create_assay(m)
detected<-detect_bias(assay)
corrected<-correct_bias(detected,method=2)

Example output

Loading required package: RColorBrewer
Loading required package: lattice
Loading required package: latticeExtra
Loading required package: kSamples
Loading required package: SuppDists
Loading required package: RVAideMemoire
*** Package RVAideMemoire v 0.9-73 ***

AssayCorrector documentation built on May 2, 2019, 6:59 a.m.