R/coldcuts.R
dir_change.Rd
Rotates the array so that it goes from one orientation to another. Currently supports PIR, RAS and LPS. Depends on freesurferformats.
freesurferformats
dir_change(array, from = "PIR", to = "RAS")
a 3D array containing voxel data.
character, a 3-word direction code that the array is in. One of PIR, RAS, or LPS.
PIR
RAS
LPS
character, a 3-word direction code that the array will be rotated to. One of PIR, RAS, or LPS.
a 3D array rotated according to original and destination directions