Learn R Programming

freesurfer (version 1.6.10)

mris_convert_vertex: Convert Surface to vertex file

Description

This function call mris_convert, using the -v option

Usage

mris_convert_vertex(opts = "", ...)

Value

Result of mris_convert

Arguments

opts

(character) additional options to mris_convert

...

additional arguments to mris_convert

Examples

Run this code
if (have_fs()) {
 bert_surf_dir = file.path(fs_subj_dir(), "bert", "surf")
 asc_file = mris_convert_vertex(
 infile = file.path(bert_surf_dir, "lh.white")
 )  
 readLines(asc_file, n = 6)
 
} 

Run the code above in your browser using DataLab