the `fs.surface` instance, as returned by read.fs.surface. If parameter `hemi` is set to `both`, a named list with entries `lh` and `rh` is returned, and the values of are the respective surfaces. The mesh data structure used in `fs.surface` is a *face index set*.
Arguments
subjects_dir
string. The FreeSurfer SUBJECTS_DIR, i.e., a directory containing the data for all your subjects, each in a subdir named after the subject identifier.
subject_id
string. The subject identifier
surface
string. The surface name. E.g., "white", or "pial". Used to construct the name of the surface file to be loaded.
hemi
string, one of 'lh', 'rh', or 'both'. The hemisphere name. Used to construct the names of the surface file to be loaded. For 'both', see the information on the return value.
force_hemilist
logical, whether to return a hemilist even if the 'hemi' parameter is not set to 'both'
as_tm
logical, whether to return an rgl::tmesh3d instead of an fs.surface instance by applying the fs.surface.to.tmesh3d function.
See Also
Other surface mesh functions:
face.edges(),
label.border(),
mesh.vertex.included.faces(),
mesh.vertex.neighbors(),
vis.path.along.verts()