theme_brain: ggseg plot theme

View source: R/theme-brain.R

theme_brainR Documentation

ggseg plot theme

Description

a set of themes created for the ggseg plots. Use theme() to tweak.

Usage

theme_brain(text.size = 12, text.family = "mono")

theme_darkbrain(text.size = 12, text.family = "mono")

theme_custombrain(
  plot.background = "white",
  text.colour = "darkgrey",
  text.size = 12,
  text.family = "mono"
)

theme_brain2(
  plot.background = "white",
  text.colour = "darkgrey",
  text.size = 12,
  text.family = "mono"
)

Arguments

text.size

Specify size of plot text

text.family

Specify font family

plot.background

Specify fill of plot background ('theme_custombrain' only)

text.colour

Specify colour of plot text

Details

'theme_brain'

Default theme for ggseg. Transparent background, no axis lines, and no grid.

'theme_darkbrain'

Dark equivalent to theme_brain, with black background, and light text.

'theme_custombrain'

Theme for easy customisation of the brain themes.

Value

function that alters the themeing of a ggplot object

Author(s)

Athanasia Mo Mowinckel

See Also

[ggplot()], [aes()], [geom_polygon()], [coord_fixed()] from the ggplot2 package

Examples

library(ggplot2)

ggplot() +
  geom_brain(atlas = dk) +
  theme_brain()

  geom_brain(atlas = dk) +
  theme_darkbrain()


ggseg documentation built on June 13, 2022, 5:07 p.m.