epi_plot_theme_1: ggthemes for episcout

Description Usage Arguments Value Note Author(s)

View source: R/epi_plot_themes.R

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

1
2
3
4
5
6
7
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 <https://github.com/AntonioJBT/episcout>


AntonioJBT/episcout documentation built on Nov. 7, 2019, 5:34 p.m.