Learn R Programming

freesurfer (version 1.6.10)

surf_convert: 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)

Value

data.frame

Arguments

file

(character) input filename of curvature measure

outfile

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

Examples

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

Run the code above in your browser using DataLab