getTrays {mixlow}R Documentation

Retrieve a vector of tray names from data

Description

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

Usage

getTrays(data, drugs=NULL, cellLines=NULL)

Arguments

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.

Details

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.

Value

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

Author(s)

John Boik jcboik@stanford.edu

See Also

getCellLines, getDrugs

Examples

# mixlowData data object is obtained using the prepareData function
data("mixlowData")
trays <- getTrays(mixlowData)

[Package mixlow version 0.01.1 Index]