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

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

Value

function that alters the themeing of a ggplot object

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.

See also

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

Author

Athanasia Mo Mowinckel

Examples

library(ggplot2)

p <- ggplot() +
  geom_brain(atlas = dk)

p +
  theme_brain()


p +
  theme_darkbrain()