This function calls fslchfiletype
fslchfiletype(
file,
filetype = "NIFTI_GZ",
outfile = NULL,
retimg = TRUE,
reorient = FALSE,
intern = FALSE,
verbose = TRUE,
...
)
file | (character) image to be manipulated |
---|---|
filetype | filetype to change image to |
outfile | Output filename. If NULL, will overwrite input file |
retimg | (logical) return image of class nifti |
reorient | (logical) If |
intern | (logical) to be passed to |
verbose | (logical) print out command before running |
... | additional arguments passed to |
If retimg
then object of class nifti. Otherwise,
Result from system command, depends if intern is TRUE or FALSE.