map_atlas.glasser: Map Values to Glasser Atlas

View source: R/glasser.R

map_atlas.glasserR Documentation

Map Values to Glasser Atlas

Description

Maps numeric values to regions in the Glasser atlas for visualization using ggseg plotting functions.

Usage

## S3 method for class 'glasser'
map_atlas(x, vals, thresh = c(0, 0), pos = FALSE, ...)

Arguments

x

A Glasser atlas object

vals

Numeric vector of values to map to atlas regions

thresh

Numeric vector of length 2 specifying (min, max) thresholds. Values outside this range will be set to NA

pos

Logical. If TRUE, uses raw values; if FALSE, uses absolute values for thresholding

...

Additional arguments passed to methods

Value

A ggseg brain atlas object with mapped values


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