Ensures the output to be a character filename (or vector) from an input image or nifti/afni.

# S4 method for afni
checkimg(file, allow_array = FALSE, ...)

Arguments

file

character or afni object

allow_array

allow arrays to be passed in

...

options passed to afni_3dAFNItoNIFTI