get_ggseg_atlas: Get ggseg-Compatible Schaefer Atlas

View source: R/ggschaefer.R

get_ggseg_atlasR Documentation

Get ggseg-Compatible Schaefer Atlas

Description

Retrieves the appropriate Schaefer atlas data structure compatible with ggseg visualization based on the atlas name parameters.

Usage

get_ggseg_atlas(atlas)

Arguments

atlas

An atlas object containing Schaefer parcellation information. The name should follow the format "schaeferN_M" where:

  • N is the number of networks (7 or 17)

  • M is the number of parcels (100 to 1000 in steps of 100)

Details

The function extracts the network count and parcel count from the atlas name and returns the corresponding ggseg-compatible atlas object. Supports Schaefer atlases with 7 or 17 networks and 100-1000 parcels (in steps of 100).

Value

A ggseg brain atlas object for visualization


bbuchsbaum/neuroatlas documentation built on Dec. 24, 2024, 4:22 a.m.