write.smp.brainvoyager: Write a brainvoyager SMP file.

Description Usage Arguments See Also

View source: R/brainvoyager.R

Description

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

Usage

1
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


freesurferformats documentation built on Feb. 11, 2022, 5:06 p.m.