Work in Progress — This package is under active development and has not yet been officially released.
MarsAtlas cortical parcellation for the ggseg ecosystem.
You can install this package from GitHub with:
# install.packages("pak")
pak::pak("ggseg/ggsegMars")library(ggseg)
#> Loading required package: ggseg.formats
library(ggsegMars)
library(ggplot2)
ggplot() +
geom_brain(
atlas = marsatlas_cortical,
mapping = aes(fill = label),
position = position_brain(hemi ~ view),
show.legend = FALSE
) +
scale_fill_manual(values = marsatlas_cortical$palette, na.value = "grey") +
theme_void() +
ggtitle("MarsAtlas cortical parcellation")ggplot() +
geom_brain(
atlas = marsatlas_subcortical,
mapping = aes(fill = label),
position = position_brain(. ~ view),
show.legend = FALSE
) +
scale_fill_manual(values = marsatlas_subcortical$palette, na.value = "grey") +
theme_void() +
ggtitle("MarsAtlas subcortical structures")Auzias G, Coulon O, Brovelli A (2016). MarsAtlas: A cortical parcellation atlas for functional mapping. Human Brain Mapping, 37(4), 1573-1592.
Please note that the ggsegMars project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

