Learn R Programming

rcellminer (version 1.4.2)

plotDrugSets: Produces a barplot of the average values for a set of NSCs with a error bar (one standard deviation)

Description

Produces a barplot of the average values for a set of NSCs with a error bar (one standard deviation)

Usage

plotDrugSets(drugAct, drugs, mainLabel = "", pdfFilename = NULL,
  statistic = "mean")

Arguments

drugAct
a matrix of drug activity values (cell lines as columns, drug entries as rows)
drugs
a vector of NSC IDs whose values will be averaged by cell line
mainLabel
a main label for the plot
pdfFilename
a string file name for a PDF plot, no file output will be produced if this is not provided
statistic
a string, either 'mean' or 'median' (Default: mean)

Value

  • no values are returned

concept

rcellminer

Examples

Run this code
drugAct <- exprs(getAct(rcellminerData::drugData))
drugs <- rownames(drugAct)[1:8]
plotDrugSets(drugAct, drugs, "Test")

Run the code above in your browser using DataLab