run_discrete_barplot_analysis: Makes discrete box plots for each parameter in column...

View source: R/discrete_barplot.R

run_discrete_barplot_analysisR Documentation

Makes discrete box plots for each parameter in column annotation

Description

Makes discrete box plots for each parameter in column annotation

Usage

run_discrete_barplot_analysis(
  ds,
  rowAnn1 = 2,
  colAnns = NA,
  parameters = "",
  out_dir = ".",
  gradient_palette = "RdBu"
)

Arguments

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.


kazeera/hourglass documentation built on April 5, 2025, 7:18 a.m.