This function calls fslswapdim
fsl_swapdim(..., outfile = tempfile(fileext = ".nii.gz"), retimg = FALSE)
fslswapdim(
file,
outfile = NULL,
retimg = TRUE,
reorient = FALSE,
intern = FALSE,
a = "x",
b = "y",
c = "z",
verbose = TRUE,
...
)
... | additional arguments passed to |
---|---|
outfile | (character) resultant image name (optional) |
retimg | (logical) return image of class nifti |
file | (character) image to be manipulated |
reorient | (logical) If retimg, should file be reoriented when read in?
Passed to |
intern | (logical) to be passed to |
a | (character) Option for x domain in |
b | (character) Option for y domain in |
c | (character) Option for z domain in |
verbose | (logical) print out command before running |
If retimg
then object of class nifti. Otherwise,
Result from system command, depends if intern is TRUE or FALSE.
Functions with underscores have different defaults and will return an output filename, so to be used for piping