theme_brain | R Documentation |
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"
)
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 |
Default theme for ggseg. Transparent background, no axis lines, and no grid.
Dark equivalent to theme_brain, with black background, and light text.
Theme for easy customisation of the brain themes.
function that alters the themeing of a ggplot object
Athanasia Mo Mowinckel
[ggplot()], [aes()], [geom_polygon()], [coord_fixed()] from the ggplot2 package
library(ggplot2)
p <- ggplot() +
geom_brain(atlas = dk)
p +
theme_brain()
p +
theme_darkbrain()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.