cyto_plot_theme: Create custom themes for cyto_plot

View source: R/cyto_plot-helpers.R

cyto_plot_themeR Documentation

Create custom themes for cyto_plot

Description

cyto_plot_theme provides an easy way to alter the theme used by cyto_plot. By calling cyto_plot_theme prior to plotting, subsequent plots will inherit these arguments so there is no need to supply them manually each time. For a complete list of supported arguments see cyto_plot_theme_args.

Usage

cyto_plot_theme(...)

Arguments

...

arguments supported by cyto_plot_theme.

Author(s)

Dillon Hammill (Dillon.Hammill@anu.edu.au)

Examples

# Make all plots have a black background
cyto_plot_theme(border_fill = "black")

# Black ground with custom colour scale for points and purple gates
cyto_plot_theme(
  border_fill = "black",
  point_col_scale = c(
    "cyan",
    "green",
    "yellow",
    "orange",
    "red",
    "darkred"
  ),
  gate_line_col = "magenta"
)

# Reset to default setting
cyto_plot_theme_reset()

DillonHammill/CytoExploreR documentation built on March 2, 2023, 7:34 a.m.