Takes in a object of class nifti, writes it
to a temp file, appends
.nii.gz as writenii
adds it.
tempimg(
nim,
gzipped = TRUE,
checknan = TRUE,
check_type = FALSE,
warn = FALSE,
drop_dim = TRUE,
...
)
nim | object of class nifti |
---|---|
gzipped | Should file be gzipped? Passed to
|
checknan | Check for NAs or NaNs |
check_type | Check the datatype for an image. Will run |
warn | Should warnings be displayed if |
drop_dim | Should |
... | Passed to |
filename of output nii.gz