ggseg: Plotting Tool for Brain Atlases

Provides a 'ggplot2' geom and position for visualizing brain region data on cortical, subcortical, and white matter tract atlases. Brain atlas geometries are stored as simple features ('sf'), enabling seamless integration with the 'ggplot2' ecosystem including faceting, custom scales, and themes. Mowinckel & Vidal-Piñeiro (2020) <doi:10.1177/2515245920928009>.

Version: 2.0.0
Depends: R (≥ 3.3)
Imports: cli, dplyr (≥ 1.0.0), ggplot2 (≥ 3.3), ggseg.formats, grid, lifecycle, sf, stats, tidyr (≥ 1.0.0), utils
Suggests: covr, devtools, here, knitr, rmarkdown, spelling, testthat (≥ 3.0.0), vdiffr
Published: 2026-02-19
DOI: 10.32614/CRAN.package.ggseg
Author: Athanasia Mo Mowinckel ORCID iD [aut, cre], Didac Vidal-Piñeiro ORCID iD [aut], Ramiro Magno ORCID iD [aut]
Maintainer: Athanasia Mo Mowinckel <a.m.mowinckel at psykologi.uio.no>
BugReports: https://github.com/ggsegverse/ggseg/issues
License: MIT + file LICENSE
URL: https://ggsegverse.github.io/ggseg/, https://github.com/ggsegverse/ggseg
NeedsCompilation: no
SystemRequirements: C++17, GDAL (>= 2.0.1), GEOS (>= 3.4.0), PROJ (>= 4.8.0)
Language: en-US
Citation: ggseg citation info
Materials: README, NEWS
CRAN checks: ggseg results

Documentation:

Reference manual: ggseg.html , ggseg.pdf
Vignettes: Plotting external data (source, R code)
Reading FreeSurfer stats files (source, R code)
Getting started with ggseg (source, R code)
Arranging brain views (source, R code)

Downloads:

Package source: ggseg_2.0.0.tar.gz
Windows binaries: r-devel: ggseg_1.6.8.zip, r-release: ggseg_1.6.8.zip, r-oldrel: ggseg_1.6.8.zip
macOS binaries: r-release (arm64): ggseg_2.0.0.tgz, r-oldrel (arm64): ggseg_1.6.8.tgz, r-release (x86_64): ggseg_1.6.8.tgz, r-oldrel (x86_64): ggseg_1.6.8.tgz
Old sources: ggseg archive

Reverse dependencies:

Reverse imports: neuroimaGene

Linking:

Please use the canonical form https://CRAN.R-project.org/package=ggseg to link to this page.