surfsplit: Split surface file into separate plys

Description Usage Arguments Details Value

View source: R/surfsplit.R

Description

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

Usage

1
2
3
4
5
6
7
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


neuroconductor/ggsegExtra documentation built on Aug. 18, 2020, 4:45 p.m.