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

Description Usage Arguments Value Examples

View source: R/plotDrugSets.R

Description

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

Usage

1
2
3
4
5
6
7
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

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

rcellminer documentation built on Nov. 26, 2020, 2:02 a.m.