vox_locations {fMRItools} | R Documentation |
Get coordinates of each voxel in a mask
Description
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.
Usage
vox_locations(mask, trans_mat, trans_units = NULL)
Arguments
mask |
3D logical mask |
trans_mat |
Transformation matrix from array indices to spatial coordinates. |
trans_units |
Units for the spatial coordinates (optional). |
Value
A list: coords
and trans_units
.
[Package fMRItools version 0.4.7 Index]