R/utils_plot.R

Defines functions my_ggplot_theme

# Default ggplot theme for all plots of this package
my_ggplot_theme = function(cex = 1) 
{
  theme_light(base_size = 10 * cex) +
    theme(
      legend.position = "bottom",
      legend.key.size = grid::unit(.3 * cex, "cm"),
      panel.background = ggplot2::element_rect(fill = 'white')
    )
}
caravagn/TINC documentation built on April 28, 2024, 7:42 a.m.