plotBarPlot: Bar plot object.

Description Usage Arguments Value

View source: R/plotting.R

Description

Generates a bar plot (using geom_col) ggplot object.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
plotBarPlot(
  data,
  x,
  y,
  fill = NULL,
  title = NULL,
  subtitle = NULL,
  scale_y_labels = NULL,
  theme = NULL
)

Arguments

data

Dataset to use for the plot. If sample, exprs will be used.

x, y

Column names for the X-axis and Y-axis, respectively.

fill

Column name for bar fill.

title

Plot subtitle.

scale_y_labels

Scaling function for Y-axis tick labels.

theme

Modifications to the default ggplot theme.

Value

An orloj plot list with the plot object and any other parameters that are required to export it.


astrolabediagnostics/orloj documentation built on May 20, 2021, 2:17 p.m.