| theme_brain | R Documentation |
A set of ggplot2 themes designed for brain atlas visualisations. All themes remove axis ticks and grid lines for a clean presentation.
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 |
Text size in points (default: '12'). |
text.family |
Font family (default: '"mono"'). |
plot.background |
Background fill colour ('theme_custombrain' and 'theme_brain2' only). |
text.colour |
Text colour ('theme_custombrain' and 'theme_brain2' only). |
Default theme. Transparent background, no axes, no grid.
Dark theme with black background and light text.
Fully customisable background, text colour, size, and font.
Like 'theme_custombrain' but with axis text removed entirely.
A [ggplot2::theme] object.
[geom_brain()], [ggplot2::theme()]
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.