Learn R Programming

freesurferformats (version 0.1.18)

write.fs.morph.ni1: Write morphometry data in NIFTI v1 format.

Description

Write morphometry data in NIFTI v1 format.

Usage

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

Value

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

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.

See Also

Other morphometry functions: fs.get.morph.file.ext.for.format(), fs.get.morph.file.format.from.filename(), read.fs.curv(), read.fs.mgh(), read.fs.morph.gii(), read.fs.morph(), read.fs.volume(), read.fs.weight(), write.fs.curv(), write.fs.label.gii(), write.fs.mgh(), write.fs.morph.asc(), write.fs.morph.gii(), write.fs.morph.ni2(), write.fs.morph.smp(), write.fs.morph.txt(), write.fs.morph(), write.fs.weight.asc(), write.fs.weight()

Other nifti1 writers: write.nifti1()