A set of ggplot2 themes designed for brain atlas visualisations. All themes remove axis ticks and grid lines for a clean presentation.
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"
)Value
A ggplot2::theme object.
Details
theme_brainDefault theme. Transparent background, no axes, no grid.
theme_darkbrainDark theme with black background and light text.
theme_custombrainFully customisable background, text colour, size, and font.
theme_brain2Like
theme_custombrainbut with axis text removed entirely.
Examples
library(ggplot2)
p <- ggplot() +
geom_brain(atlas = dk())
p +
theme_brain()
p +
theme_darkbrain()
