surf_convert: Convert Surface Data to ASCII

View source: R/surf_convert.R

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

muschellij2/freesurfer documentation built on Nov. 28, 2023, 4:45 a.m.