map_atlas: Map values to an atlas

View source: R/all_generic.R

map_atlasR Documentation

Map values to an atlas

Description

Maps a set of values to regions/parcels in an atlas object. This can be used to visualize data (like statistics or measurements) across atlas regions.

Usage

map_atlas(x, vals, thresh, ...)

Arguments

x

An atlas object to map values onto

vals

Numeric vector of values to map to atlas regions. Length should match the number of regions in the atlas

thresh

Optional numeric vector of length 2 specifying (min, max) thresholds for the mapped values. Values outside this range will be clamped.

...

Additional arguments passed to methods

Value

Returns the atlas object with mapped values


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