Learn R Programming

fslr (version 1.3)

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 writeNIfTI adds it.

Usage

tempimg(nim, gzipped = TRUE, checknan = TRUE, ...)

Arguments

nim
object of class nifti
gzipped
Should file be gzipped? Passed to writeNIfTI
checknan
Check for NAs or NaNs
...
Not used

Value

  • filename of output nii.gz