getDrugs {mixlow} | R Documentation |
Convenience function called on output from prepareData
or
readDataFile
to obtain a vector of drug names.
getDrugs(data, trays=NULL, cellLines=NULL)
data |
A list obtained from prepareData or readDataFile
functions. |
trays |
A vector of tray names. If NULL , drugs will not
be subset by trays. |
cellLines |
A vector of cell line names. If NULL , drugs
will not be subset by cell lines. |
A data file may contain experimental results for multiple drugs.
If so, slices of the vector returned from getDrugs
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 drugs are contained in the input data object.
John Boik jcboik@stanford.edu
# mixlowData data object is obtained using the prepareData function data("mixlowData") drugs <- getDrugs(mixlowData)