plotDrugSets: Produces a barplot of the average values for a set of NSCs...

View source: R/plotDrugSets.R

plotDrugSetsR Documentation

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

Examples

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


cannin/rcellminer documentation built on Aug. 11, 2024, 8:45 a.m.