Learn R Programming

fslr (version 1.9.2.1)

checkniigz-methods: Force object to filename with .nii.gz extension

Description

Ensures the output to be a character filename (or vector) from an input image or nifti, to be gzipped and has .nii.gz extension

Usage

checkniigz(file, ...)
"checkniigz"(file, ...)
"checkniigz"(file, ...)
"checkniigz"(file, ...)
ensure_nii_gz(file, ...)

Arguments

file
character or nifti object
...
options passed to checkimg

Value

Character filename of image or temporary nii, with .nii.gz extension