calcPlateQuality2: Calculate plate quality

Description Usage Arguments Value Examples

Description

Calculates z-factor and z-prime of a measurment. Requires the actual measurment, negative and positive controls.

Usage

1
2
calcPlateQuality2(in.dt, in.col.meas, in.col.well, in.wells.neg, in.wells.pos,
  in.wells.excl = NULL, in.screen = c("activation", "inhibition"))

Arguments

in.dt

Input data table. Rows correspond to well measurements. Has to consist of at least 2 columns: value of the measurement in a well, and well names.

in.col.meas

Name of the column holding the measurement

in.col.well

Name of the column holding well name

in.wells.neg

String vector with well names of the negative control

in.wells.pos

String vector with well names of the positive control

in.wells.excl

String vector with additional (to neg and pos controls) well names to exclude from calculation of plate stats (mean, sd, etc); for example, untreated wells would typically be excluded. Default NULL

in.screen

String with either of c('activation', 'inhibition')

Value

List with two items, plate and control stats, zfactor, and zprime

Examples

1
2
3
4
5
require(data.table)

v.wells = as.vector(outer(LETTERS[1:8],1:12,paste0))
dt = data.table(meanInt = c(rpois(76, 20), rnorm(10, 1), rnorm(10, 22)), well = v.wells)
calcPlateQuality2(dt, 'meanInt', 'well', v.wells[77:86], v.wells[87:96], 'act')

dmattek/hcs-package documentation built on May 16, 2019, 7:24 a.m.