Function to convert Freesurfer surface file into .ply

surf2ply(input_file, output_file = paste(input_file, ".ply"), verbose = TRUE)

Arguments

input_file

path to Freesurfer surface file

output_file

path to output file

verbose

logical indicating to be verbose or not

Value

ply text