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)A list: coords and trans_units.
3D logical mask
Transformation matrix from array indices to spatial coordinates.
Units for the spatial coordinates (optional).