Package: ggseg 2.1.1

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>.

Authors:Athanasia Mo Mowinckel [aut, cre, cph], Didac Vidal-Piñeiro [aut, cph], Ramiro Magno [aut], Center for Lifespan Changes in Brain and Cognition, University of Oslo, Norway [cph]

ggseg_2.1.1.tar.gz
ggseg_2.1.1.zip(r-4.7)ggseg_2.1.1.zip(r-4.6)ggseg_2.1.1.zip(r-4.5)
ggseg_2.1.1.tgz(r-4.6-any)ggseg_2.1.1.tgz(r-4.5-any)
ggseg_2.1.1.tar.gz(r-4.7-any)ggseg_2.1.1.tar.gz(r-4.6-any)
ggseg_2.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
ggseg/json (API)
NEWS

# Install 'ggseg' in R:
install.packages('ggseg', repos = c('https://drmowinckels.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/ggsegverse/ggseg/issues

Pkgdown/docs site:https://ggsegverse.github.io

On CRAN:

Conda:

11.67 score 260 stars 1 packages 639 scripts 1.5k downloads 9 mentions 30 exports 44 dependencies

Last updated from:9bfef3abd6. Checks:9 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK175
source / vignettesOK240
linux-release-x86_64OK184
macos-release-arm64OK111
macos-oldrel-arm64OK120
windows-develOK124
windows-releaseOK122
windows-oldrelOK115
wasm-releaseOK142

Exports:annotate_brainasegbrain_joindkgeom_brainGeomBrainggsegposition_brainreposition_brainscale_brainscale_brain_manualscale_brain2scale_color_brainscale_color_brain_manualscale_color_brain2scale_colour_brainscale_colour_brain_manualscale_colour_brain2scale_continous_brainscale_fill_brainscale_fill_brain_manualscale_fill_brain2scale_labs_brainscale_x_brainscale_y_braintheme_braintheme_brain2theme_custombraintheme_darkbraintracula

Dependencies:classclassIntclicpp11DBIdplyre1071farvergenericsgeometriesggplot2ggseg.formatsgluegtableisobandKernSmoothlabelinglifecyclemagrittrMASSpillarpkgconfigproxypurrrR6RColorBrewerRcpprlangs2S7scalessfsfheadersstringistringrtibbletidyrtidyselectunitsutf8vctrsviridisLitewithrwk

Arranging brain views

Rendered frompositioning-views.Rmdusingknitr::rmarkdownon Jun 08 2026.

Last update: 2026-02-19
Started: 2026-02-19

Getting started with ggseg

Rendered fromggseg.Rmdusingknitr::rmarkdownon Jun 08 2026.

Last update: 2026-04-16
Started: 2018-08-30

Plotting external data

Rendered fromexternal-data.Rmdusingknitr::rmarkdownon Jun 08 2026.

Last update: 2026-04-16
Started: 2026-02-19

Reading FreeSurfer stats files

Rendered fromfreesurfer-files.Rmdusingknitr::rmarkdownon Jun 08 2026.

Last update: 2026-02-19
Started: 2026-02-19

Readme and manuals

Help Manual

Help pageTopics
Add view labels to brain atlas plotsannotate_brain
Join user data with a brain atlasbrain_join
Plot brain atlas regionsGeomBrain geom_brain
Alter brain atlas positionposition_brain
Reposition brain slicesreposition_brain
Colour and fill scales from brain atlas palettesscale_brain scale_color_brain scale_colour_brain scale_fill_brain
Manual colour and fill scales for brain plotsscale_brain_manual scale_color_brain_manual scale_colour_brain_manual scale_fill_brain_manual
Deprecated scale functionsscale_brain2 scale_brain2-deprecated scale_color_brain2 scale_colour_brain2 scale_fill_brain2
Axis and label scales for brain atlas plotsscale_continous_brain scale_labs_brain scale_x_brain scale_y_brain
Themes for brain atlas plotstheme_brain theme_brain2 theme_custombrain theme_darkbrain