writeNIfTI function from the
oro.nifti package, but makes sure to remove .nii extension and
warnings can be suppressed.
writeNIfTI2(nim, filename, dtype = FALSE, ...)
writenii(nim, filename, dtype = TRUE, drop_dim = TRUE, warn = FALSE, ...)nifti, passed to writeNIfTIdatatyper be run before writing?writeNIfTIdrop_img_dim be run before writing?writeNIfTI be
printed? If not, suppressWarnings is called