sampleList | R Documentation |
This function generates a list of treatment samples and control samples CEL ids for each compound treatment from the experiment annotation of CMAP02 instances. For more context of the CMAP02 database, please consult the vignette of this package.
sampleList(cmap, myby)
cmap |
data.frame containing experiment information of CMAP02 instances |
myby |
"CMP" or "CMP_CELL", "CMP": by compound treatments in all cells; "CMP_CELL": by compound treatments in individual cell |
a list object containing treatment samples and control samples ids for each compound treament.
path <- system.file("extdata", "cmap_instances_02.txt", package="signatureSearchData")
cmap_inst <- read.delim(path, check.names=FALSE)
comp_list <- sampleList(cmap_inst, myby="CMP_CELL")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.