map_atlas.glasser | R Documentation |
Maps numeric values to regions in the Glasser atlas for visualization using ggseg plotting functions.
## S3 method for class 'glasser'
map_atlas(x, vals, thresh = c(0, 0), pos = FALSE, ...)
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 |
A ggseg brain atlas object with mapped values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.