plotDrugSets {rcellminer} | R 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")

[Package rcellminer version 2.6.0 Index]