plotDrugSets | R Documentation |
Produces a barplot of the average values for a set of NSCs with a error bar (one standard deviation)
plotDrugSets(
drugAct,
drugs,
mainLabel = "",
pdfFilename = NULL,
statistic = "mean"
)
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) |
no values are returned
drugAct <- exprs(getAct(rcellminerData::drugData))
drugs <- rownames(drugAct)[1:8]
plotDrugSets(drugAct, drugs, "Test")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.