surf_convert {freesurfer}R Documentation

Convert Surface Data to ASCII

Description

This function calls mri_convert to convert a measure from surfaces to an ASCII file and reads it in.

Usage

surf_convert(file, outfile = NULL)

Arguments

file

(character) input filename of curvature measure

outfile

(character) output filename (if wanted to be saved)

Value

data.frame

Examples

if (have_fs()) {
   fname = file.path(fs_subj_dir(), "bert", "surf", "lh.thickness")
   out = surf_convert(fname)
}

[Package freesurfer version 1.6.10 Index]