theme_gsea: applies a GSEA-friendly theme to a ggplot object

View source: R/theme_gsea.R

theme_gseaR Documentation

applies a GSEA-friendly theme to a ggplot object

Description

Imports: ggplot2

Usage

theme_gsea(textsize = 14)

Arguments

textsize

number, sets the size for every text in the plot, except those that are defined extra (e.g. annotate)

Details

sets options for the panel.grid, panel.background, panel.border, strip.background, strip.text, text, axis.text, axis.title and plot.title

Value

a ggplot layer that can be added to a ggplot object

Examples

ggplot(mtcars, aes(mpg, wt)) +
  geom_point() +
  theme_hm()


NicolasH2/gggsea documentation built on Jan. 28, 2024, 7:25 p.m.