Learn R Programming

fslr (version 1.9.2.1)

tempimg: Create temporary nii.gz file for FSL

Description

Takes in a object of class nifti, writes it to a temp file, appends .nii.gz as writenii adds it.

Usage

tempimg(nim, gzipped = TRUE, checknan = TRUE, check_type = FALSE, warn = FALSE, ...)

Arguments

nim
object of class nifti
gzipped
Should file be gzipped? Passed to writenii
checknan
Check for NAs or NaNs
check_type
Check the datatype for an image. Will run datatyper.
warn
Should warnings be displayed if writenii has any? Passed to writenii.
...
Not used

Value

filename of output nii.gz