View source: R/BASiCS_PlotVarianceDecomp.R
BASiCS_PlotVarianceDecomp | R Documentation |
Plot variance decomposition results.
BASiCS_PlotVarianceDecomp(
Decomp,
beside = FALSE,
nBatch = ((ncol(Decomp) - 2)/3) - 1,
main = "Overall variance decomposition",
xlabs = if (nBatch == 1) "Overall" else c("Overall", paste("Batch", seq_len(nBatch))),
ylab = "% of variance"
)
Decomp |
The output of |
beside |
If |
nBatch |
Number of batches. |
main |
Plot title. |
xlabs |
x-axis labels. Defaults to "Batch 1", "Batch 2", etc. |
ylab |
y axis label. |
A ggplot object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.