This function call mris_convert, using the -v option

mris_convert_vertex(opts = "", ...)

Arguments

opts

(character) additional options to mris_convert

...

additional arguments to mris_convert

Value

Result of mris_convert

Examples

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