Build a cellHTS2 object from a data frame containing measurements

Share:

Description

Builds a cellHTS2 object from a data frame.

Usage

1
buildCellHTS2(xd, measurementNames)

Arguments

xd

a data frame containing the columns plate, replicate and well, and the measurement columns. The plate and replicate columns must contain integer values, starting from 1. The well column must contain well names formed by one to two capitals letter followed by two digits, e.g. A12 or AB01. Letter ordering is as follows: A, B, C,..., Z, AA, AB, AC,..., AZ, BA, BB, ..., ZZ.

measurementNames

an optional character vector containing the measurement names. If missing, the names of the measurement columns in xd are used. If NULL, the measurements are not named.

Details

The function uses readPlateList to build a cellHTS2 object.

Value

An object of class cellHTS, which extends the class NChannelSet.

Author(s)

Gregoire Pau gregoire.pau@embl.de

References

Boutros, M., Bras, L.P. and Huber, W. (2006) Analysis of cell-based RNAi screens, Genome Biology 7, R66.

See Also

readPlateList.

Examples

1
2
3
4
5
wells = sprintf("%s%02d", rep(LETTERS[1:8], each=12), 1:12)
xd = expand.grid(plate=1:3, replicate=1:2, well=wells)
xd$cell.number = rnorm(nrow(xd))
xd$cell.size = rnorm(nrow(xd))
x = buildCellHTS2(xd)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.