surf_convert: Convert Surface Data to ASCII

Description Usage Arguments Value Examples

View source: R/surf_convert.R

Description

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

Usage

1
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

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

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