getCellLines {mixlow}R Documentation

Retrieve a vector of cell line names from data

Description

Convenience function called on output from prepareData or readDataFile to obtain a vector of cell line names.

Usage

getCellLines(data, drugs=NULL, trays=NULL)

Arguments

data A list obtained from prepareData or readDataFile functions
drugs A vector of drug names. If NULL, cell lines will not be subset by drugs.
trays A vector of tray names. If NULL, cell lines will not be subset by trays.

Details

A data file may contain experimental results for multiple cell lines. If so, the prepareData function requires that one of these be specified for further analysis. Slices of the vector returned from getCellLines can be used as an argument to the prepareData function to subset the data.

Value

A vector of strings indicating which cell lines are contained in the input data object.

Author(s)

John Boik jcboik@stanford.edu

See Also

getTrays, getDrugs

Examples

# mixlowData data object is obtained using the prepareData function
data("mixlowData")
cellLines <- getCellLines(mixlowData)

[Package mixlow version 0.01.1 Index]