powered by
Reads a Freesurfer Surface file from the surf/ directory from recon-all
surf/
recon-all
freesurfer_read_surf(file)
List of length 2: vertices and faces are the elements
surface file (e.g. lh.inflated)
lh.inflated
if (have_fs()) { fname = file.path(fs_subj_dir(), "bert", "surf", "lh.inflated") out = freesurfer_read_surf(fname) }
Run the code above in your browser using DataLab