Learn R Programming

freesurfer (version 1.6.10)

mris_convert_normals: Convert Surface to Surface normals

Description

This function call mris_convert, using the -n option

Usage

mris_convert_normals(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_dir = file.path(fs_subj_dir(), "bert")
 asc_file = mris_convert_normals(
 infile = file.path(bert_dir, "surf", "lh.white")
 )  
readLines(asc_file, n = 6)
}   

Run the code above in your browser using DataLab