theme_roberts: Roberts lab ggplot theme defaults

View source: R/plotting.R

theme_robertsR Documentation

Roberts lab ggplot theme defaults

Description

Roberts lab ggplot theme defaults

Usage

theme_roberts(
  axis_font_size = 5,
  axis_title_font_size = 8,
  facet_font_size = 5,
  font_name = "Arial",
  legend_key_size = "0.2",
  legend_text_font_size = 5,
  legend_title_font_size = 6,
  subtitle_font_size = 6,
  title_font_size = 10
)

Arguments

axis_font_size

Font size for axis text

axis_title_font_size

Font size for axis titles

facet_font_size

Font size for facet titles

font_name

Name of font to use

legend_key_size

Spacing of legend items (in cm)

legend_text_font_size

Font size for legend text

legend_title_font_size

Font size for legend title

subtitle_font_size

Font size for subtitle

title_font_size

Font size for title

Value

A list object to use as a theme

Examples

## Not run: 
ggplot(storms,
       aes(x = year,
           y = pressure,
           color = category)) +
   geom_point() +
   theme_roberts()

## End(Not run)

kidcancerlab/rrrSingleCellUtils documentation built on April 17, 2025, 5:10 p.m.