Learn R Programming

cellHTS2 (version 2.36.0)

buildCellHTS2: Build a cellHTS2 object from a data frame containing measurements

Description

Builds a cellHTS2 object from a data frame.

Usage

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.

Value

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

Details

The function uses readPlateList to build a cellHTS2 object.

References

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

See Also

readPlateList.

Examples

Run this code
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)

Run the code above in your browser using DataLab