geom_brain {ggseg} | R Documentation |
Brain geom
Description
call to geom_sf
Usage
geom_brain(
mapping = aes(),
data = NULL,
atlas,
hemi = NULL,
side = NULL,
position = position_brain(),
show.legend = NA,
inherit.aes = TRUE,
...
)
Arguments
mapping |
argument to pass to |
data |
data.frame with data to plot |
atlas |
object of type brain_atlas to plot |
hemi |
hemisphere to plot. Defaults to everything in the atlas. |
side |
slice to plot, as recorded in the "side" column in the atlas data. Defaults to all. |
position |
position of the data. Default is "identity" but can be
changed by |
show.legend |
logical. Should legend be added or not. |
inherit.aes |
logical. if aes should be inherited from the main ggplot call or not |
... |
arguments to |
Value
ggplot object
Examples
library(ggplot2)
ggplot() +
geom_brain(atlas = dk)
[Package ggseg version 1.6.5 Index]