load a surface from a surface geometry file with optional mapped surface data

read_surf(surface_name, surface_data_name = NULL, colind = NULL,
  nodeind = NULL)

Arguments

surface_name

the name of the file containing the surface geometry.

surface_data_name

the name of the file containing the values to be mapped to the surface (optional).

colind

the columns/samples to load (optional), only if surface_data_name is not NULL

nodeind

the subset of node indices to load

Value

an instance of the class: SurfaceGeometry or NeuroSurface or NeuroSurfaceVector