Description Usage Arguments Value Note See Also
View source: R/write_fs_curv.R
Write morphometry data in NIFTI v2 format.
1 | write.fs.morph.ni2(filepath, data, ...)
|
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 |
format, string. The format that was used to write the data: "ni2".
Not many software packages support NIFTI v2 format. If possible with your data, you may want to use NIFTI v1 instead.
nifti.file.version can be used to check whether a file is NIFTI v1 or v2 file.
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.ni1(),
write.fs.morph.smp(),
write.fs.morph.txt(),
write.fs.morph(),
write.fs.weight.asc(),
write.fs.weight()
Other nifti2 writers:
write.nifti2()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.