View source: R/epi_plot_themes.R
epi_plot_theme_1 | R Documentation |
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.
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(...)
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 |
None, these functions are called from plotting functions.
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
Antonio Berlanga-Taylor <\url{https://github.com/AntonioJBT/episcout}>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.