qc_per_plate: Quality-control metrics calculation

Description Usage Arguments Value Examples

View source: R/qc.R

Description

Calculate QC metrics, includin Z' score, CV of DMSO negative control, per assay plate.

Usage

1
qc_per_plate(d, assay_info, resp = "nval_median")

Arguments

d

data.frame contains essential columns with the raw data.

assay_info

assay_info list, contains names of primary and cytotox assay, names must match what are provided in the raw data, under the column 'assay'.

resp

response type, specify either 'nval_median' or 'nval_mean' for QC calculation

Value

three dataframe each representing negative control stats, positive control stats and QC metrics (CV_DMSO, Z' score, SSMD) for each assay plate

Examples

1
2
3
4
## calculate QC measures from demo data
assay_info <- list(prim_assay = "Primary",toxi_assay = "Cytotox")
demo_mc_norm <- normalize_per_plate(demo_mc, nctrl = "DMSO")
qc <- qc_per_plate(demo_mc_norm, assay_info)

toxplot documentation built on April 3, 2018, 9:04 a.m.