Write morphometry data in NIFTI v1 format.

write.fs.morph.ni1(filepath, data, ...)

Arguments

filepath

string, the full path of the output NIFTI file. Should end with '.nii' or '.nii.gz'.

data

numerical vector, the data to write. Will be coerced to double.

...

extra parameters passed to write.nifti1.

Value

format, string. The format that was used to write the data: "ni1".

See also