calcPlateQuality: 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
calcPlateQuality(in.dt, in.col.meas, in.col.type, in.well.type,
  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, description of well types (e.g.'CTRL neg', 'CTRL pos', 'Compounds'.)

in.col.meas

Name of the column holding the measurement

in.col.type

Name of the column holding the well type

in.well.type

Named list with strings that describe wells with negative and positive controls, and compounds. The list has to have the following names of elements: list(ctrl.neg = 'CTRL neg', ctrl.pos = 'CTRL pos', compounds = 'Compounds')

in.screen

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

Value

List with two items, zfactor and zprime

Examples

1
2
3
4
5
6
7
8
9
require(data.table)
l.well = list(compounds = 'Compounds', ctrl.neg = 'CTRL neg', ctrl.pos = 'CTRL pos')
dt = data.table(meanInt = c(rnorm(80, 2, 1),
                            rnorm(10, 0, 1),
                            rnorm(10, 2, 1)),
                wellType = c(rep(l.well$compounds, 80),
                             rep(l.well$ctrl.neg, 10),
                             rep(l.well$ctrl.pos, 10)))
calcPlateQuality(dt, 'meanInt', 'wellType', l.well, 'act')

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