surfsplit: Split surface file into separate plys

View source: R/surfsplit.R

surfsplitR Documentation

Split surface file into separate plys

Description

Function to split up a surface ply into several ply's based on a freesurfer label file.

Usage

surfsplit(
  srf_ply,
  label_path,
  prefix = "test",
  output_dir = dirname(label_path),
  verbose = TRUE
)

Arguments

srf_ply

Surface ply path

label_path

label dpv file

prefix

output prefix

output_dir

output directory path

verbose

logical indicating to be verbose or not

Details

Script adapted to R and ggseg based on scripts from Anderson M. Winkler: http://brainder.org

Value

list of ply meshes. Will also write ply meshes to files.


LCBC-UiO/ggsegExtra documentation built on May 9, 2022, 1:07 a.m.