Converts an AFNI file to an NIfTI file or nifti
using 3dAFNItoNIFTI
afni_3dAFNItoNIFTI(file, outfile = NULL, opts = "", float = TRUE,
retimg = TRUE, ...)
afni_to_nifti(...)AFNI BRIK or HEAD file
output filename or prefix. The default is to always use
.nii.gz extensions and will override if outfile has a
.nii extension.
Additional options to pass to 3dAFNItoNIFTI
Should the -float option be called in
3dAFNItoNIFTI
Should an image be returned?
additional arguments to readnii
If retimg then object of class nifti. Otherwise,
the outfile argument is returned (or a temporary filename)