View source: R/discrete_barplot.R
run_discrete_barplot_analysis | R Documentation |
Makes discrete box plots for each parameter in column annotation
run_discrete_barplot_analysis(
ds,
rowAnn1 = 2,
colAnns = NA,
parameters = "",
out_dir = ".",
gradient_palette = "RdBu"
)
ds |
A dataset object (a list with vals, rowAnn, colAnn, comparison, name). |
rowAnn1 |
A column index (numeric) or name in ds$rowAnn indicating which groups to stratify by. |
colAnns |
A character vector of 1-2 column names in ds$colAnn. c(Parameter, Feature/Stain/Gene) |
parameters |
Group names or parameters in colAnn1 that required its own barplot |
gradient_palette |
RColorBrewer palette name for gradients (e.g. heatmap, correlation plots). See RColorBrewer::display.brewer.all() for all options. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.