Learn R Programming

freesurferformats (version 0.1.18)

bvsmp: Create new bvsmp instance encoding morph data for Brainvoyager.

Description

Create new bvsmp instance encoding morph data for Brainvoyager.

Usage

bvsmp(morph_data)

Value

bvsmp instance, can be used to write Brainvoyager SMP format morphometry files using write.smp.brainvoyager. Modify as needed before writing.

Arguments

morph_data

numeric vector, the morphometry data to store in the bvsmp instance (one value per mesh vertex).

Examples

Run this code
   morph_data = rnorm(100L, 3.0, 1.0);
   mybvsmp = bvsmp(morph_data);
   mybvsmp$smp_version;

Run the code above in your browser using DataLab