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

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)
}