vox_locations {fMRItools} | R Documentation |
Made for obtaining voxel locations in 3D space from the subcortical metadata of CIFTI data: the volumetric mask, the transformation matrix and the spatial units.
vox_locations(mask, trans_mat, trans_units = NULL)
mask |
3D logical mask |
trans_mat |
Transformation matrix from array indices to spatial coordinates. |
trans_units |
Units for the spatial coordinates (optional). |
A list: coords
and trans_units
.