Learn R Programming

ciftiTools (version 0.17.4)

vox_locations: Get spatial locations of each voxel

Description

Use subcortical metadata (mask, transformation matrix and units) to get voxel locations in 3D space.

Usage

vox_locations(mask, trans_mat, trans_units = NULL)

Value

A list: coords and units

Arguments

mask, trans_mat, trans_units

The subcortical metadata