Provides a ggplot2 geom and position for visualising 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.
`ggseg()` is defunct as of version 2.0.0. Use `ggplot() + geom_brain()` instead.
ggseg(...)Does not return; always raises an error.
Ignored.
Maintainer: Athanasia Mo Mowinckel a.m.mowinckel@psykologi.uio.no (ORCID) [copyright holder]
Authors:
Didac Vidal-Piñeiro d.v.pineiro@psykologi.uio.no (ORCID) [copyright holder]
Ramiro Magno ramiro.magno@gmail.com (ORCID)
Other contributors:
Center for Lifespan Changes in Brain and Cognition, University of Oslo, Norway [copyright holder]
The main entry point is [geom_brain()], which accepts a `ggseg_atlas` object and optional user data. Use [position_brain()] to control the layout of brain slices/views.
Useful links:
Report bugs at https://github.com/ggsegverse/ggseg/issues
[geom_brain()] for the replacement API.