theme_delfi: DELFI Diagnostics visual identity ggplot2 theme

Description Usage Arguments Value Examples

View source: R/theme.R

Description

DELFI Diagnostics visual identity ggplot2 theme

Usage

1
theme_delfi(base_size = 10, italicize_strip = FALSE, gotham_font = TRUE)

Arguments

base_size

(int) Base size for theme, default is 8

italicize_strip

(bool) Italicize strip titles (for gene names), default is FALSE

gotham_font

(bool) Use Gotham font family, default is TRUEuse

Value

a ggplot2 theme

Examples

1
2
3
4
5
ggplot2::ggplot(data = data.frame(x = c(1, 2), y = c(2, 3), g = c('a', 'b')),
  mapping = ggplot2::aes(x = x, y = y))+
  theme_delfi(italicize_strip = TRUE)+
  ggplot2::geom_point()+
  ggplot2::facet_grid(ggplot2::vars(g))

ggraham/delfiVisID documentation built on Jan. 12, 2022, 12:24 a.m.