write.smp.brainvoyager {freesurferformats}R Documentation

Write a brainvoyager SMP file.

Description

Write a brainvoyager SMP file, which contains one or more vertex-wise data maps (stats or morphometry data).

Usage

write.smp.brainvoyager(filepath, bvsmp, smp_version = 3L)

Arguments

filepath

character string, the output file

bvsmp

bvsmp instance, a named list as returned by read.smp.brainvoyager.

smp_version

integer, the SMP file format version to use when writing. Versions 2 to 5 are supported, but only versions 2 and 3 have been tested properly. Please report any problems you encounter. When converting between file versions (e.g., loading a v2 file and saving the result as a v5 file), some required fields may be missing, and for those without a default value according to the official spec, you will have to manually add the value you want in the bvsmp object before writing.

See Also

write.fs.morph.smp


[Package freesurferformats version 0.1.18 Index]