epi_plot_theme_1: ggthemes for episcout

View source: R/epi_plot_themes.R

epi_plot_theme_1R Documentation

ggthemes for episcout

Description

Themes for ggplot2 plots for episcout epi_plot_XXX functions. Most options are hard-coded, if you don't like the themes it is easier to create one with your preferences or modify directly in a ggplot2 call.

Usage

epi_plot_theme_1(base_size = 11, base_family = "Times")

epi_plot_theme_2(base_size = 13, base_family = "Times")

scale_fill_epi_plot_theme_2(...)

scale_colour_epi_plot_theme_2(...)

Arguments

base_size

passed to element_text() for the font size. Default is 11 for epi_plot_theme_1 and 13 for epi_plot_theme_2

base_family

passed to theme() for font family. Default is Times.

...

additional arguments passed to ggplot2::discrete_scale() for scale_colour_epi_plot_theme_1 and scale_colour_epi_plot_theme_2

Value

None, these functions are called from plotting functions.

Note

For examples see eg epi_plot_heatmap_triangle and others. If creating your own themes see for instance: ggthemes, ggplot2 themes. Some colour codes: Colors ggplot2, ggplot2 Quick Reference

Author(s)

Antonio Berlanga-Taylor <\url{https://github.com/AntonioJBT/episcout}>


AntonioJBT/episcout documentation built on June 8, 2024, 7:47 a.m.