detect_bias: Detect the type of bias present in the assay

Description Usage Arguments Value Examples

Description

detect (1) identifies rows and columns of all plates of the assay affected by spatial bias (following the results of the Mann-Whitney U test); (2) identifies well locations (i.e., well positions scanned across all plates of a given assay) affected by spatial bias (also following the results of the Mann-Whitney U test).

Usage

1
detect_bias(assay, alpha = 0.01, type = "P", test = "AD")

Arguments

assay

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

alpha

Significance level threshold (defaults to 0.01)

type

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

test

KS:Kolmogorov-Smirnov (1933), AD:Anderson-Darling (1952), CVM:Cramer-von-Mises (1928)

Value

The corrected assay (assay object)

Examples

1
2
assay<-create_assay(m)
detected<-detect_bias(assay)

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.