Skip to content

MarsAtlas Cortical Parcellation for the ggseg Ecosystem

Notifications You must be signed in to change notification settings

ggseg/ggsegMars

Repository files navigation

ggsegMars

Work in Progress — This package is under active development and has not yet been officially released.

MarsAtlas cortical parcellation for the ggseg ecosystem.

Installation

You can install this package from GitHub with:

# install.packages("pak")
pak::pak("ggseg/ggsegMars")

Cortical atlas

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")

Subcortical atlas

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")

Reference

Auzias G, Coulon O, Brovelli A (2016). MarsAtlas: A cortical parcellation atlas for functional mapping. Human Brain Mapping, 37(4), 1573-1592.

Code of Conduct

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.

About

MarsAtlas Cortical Parcellation for the ggseg Ecosystem

Resources

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages