Description Usage Arguments Value Examples
The barplot of enrichment functions
1 2 | cellSigAnalysisPlot(chart, prefix = "", type = NULL, fill = "steelblue",
outpath = getOption("opm.outpath"), ...)
|
chart |
data frame, the functional annotation chart |
prefix |
character, the prefix of figure name |
type |
selected domains from chart, e.g. BP. |
fill |
color of the bars |
outpath |
directory of output figures, default: getOption("opm.outpath") |
... |
other arguments for graphical devices |
Invisibly the ggplot2 function for barplot
1 2 3 4 5 6 7 8 | data(demoCell)
genemap <- read.csv(file.path(system.file("Test", package = "OperaMate"),
"demoData", "genemap.csv"), stringsAsFactors = FALSE)
chart <- cellSigAnalysis(oneCell, genemap, organism = "mmusculus")
op <- options("device")
options("device" = "png")
cellSigAnalysisPlot(chart, type = "BP", outpath = tempdir())
options(op)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.