Read Brainvoyager statistical surface results from SMP file.
character string, path to file in Brainvoyager SMP file format
named list of file contents
Currently only SMP file versions 2 and 3 are supported, as these are the only ones for which a spec is available. The version is encoded in the file header.
1 2 3 4 5 6 7 8 9 10
## Not run: # Surface mesh, requires BV demo dataset from website: sf = read.fs.surface.bvsrf("~/data/BrainTutorData/CG_LHRH_D65534.srf"); # Surface map of cortical thickness. Needs to be created in BV. smp_file = "~/data/BrainTutorData/CG_LHRH_D65534_Thickness.smp"; smp = read.smp.brainvoyager(smp_file); smp_data = read.fs.morph.bvsmp(smp); # could also pass smp_file. fsbrain::vis.fs.surface(sf, per_vertex_data = smp_data); ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.