getTrays {mixlow} | R Documentation |
Convenience function called on output from prepareData
or
readDataFile
to obtain a vector of tray names.
getTrays(data, drugs=NULL, cellLines=NULL)
data |
A list obtained from prepareData or readDataFile
functions. |
drugs |
A vector of drug names. If NULL , trays will not
be subset by drugs. |
cellLines |
A vector of cell line names. If NULL , trays
will not be subset by cell lines. |
A data file will contain experimental results for multiple trays, with
one drug tested per tray. Slices of the vector returned from
getTrays
can be used as an argument to the prepareData
function in order to select a subset of the data.
A vector of strings indicating which trays are contained in the input data object.
John Boik jcboik@stanford.edu
# mixlowData data object is obtained using the prepareData function data("mixlowData") trays <- getTrays(mixlowData)