Learn R Programming

ggseg (version 2.1.0)

ggseg: ggseg: Visualise brain atlas data with ggplot2

Description

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.

Usage

ggseg(...)

Value

Does not return; always raises an error.

Arguments

...

Ignored.

Author

Maintainer: Athanasia Mo Mowinckel a.m.mowinckel@psykologi.uio.no (ORCID) [copyright holder]

Authors:

Other contributors:

  • Center for Lifespan Changes in Brain and Cognition, University of Oslo, Norway [copyright holder]

Details

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.

See Also

Examples

Run this code
if (FALSE) {
ggseg()
}

Run the code above in your browser using DataLab