freesurfer_read_surf: Read Freesurfer Surface file

Description Usage Arguments Value Examples

View source: R/freesurfer_read3.R

Description

Reads a Freesurfer Surface file from the surf/ directory from recon-all

Usage

1

Arguments

file

surface file (e.g. lh.inflated)

Value

List of length 2: vertices and faces are the elements

Examples

1
2
3
4
if (have_fs()) {
   fname = file.path(fs_subj_dir(), "bert", "surf", "lh.inflated")
   out = freesurfer_read_surf(fname)
}

Example output



freesurfer documentation built on Dec. 9, 2020, 1:07 a.m.