# NOT RUN {
data(TGGATESsmall)
summMP <- ToxicoGx::summarizeMolecularProfiles(
tSet = TGGATESsmall, mDataType = "rna",
cell_lines=cellNames(TGGATESsmall), drugs = head(drugNames(TGGATESsmall)),
features = fNames(TGGATESsmall,"rna")[1:100], duration = "8",
dose = c("Control", "High"), summary.stat = "median",
fill.missing = TRUE, verbose=TRUE
)
#subset into expression matrix for a requested drug
assays <- SummarizedExperiment::assays(summMP)[[drugNames(TGGATESsmall)[1]]]
#summarization of phenoData for requested experiments
phenoData <- SummarizedExperiment::colData(summMP)
#summarization of phenoData for requested experiments
featureData <- SummarizedExperiment::rowData(summMP) #featureData for requested experiments
# }
Run the code above in your browser using DataLab