subject_2_ascii: Convert subject surface files to ascii

View source: R/subject_2_ascii.R

subject_2_asciiR Documentation

Convert subject surface files to ascii

Description

This function goes through all specified subject, per hemisphere, surface, curvature and no fix curvature specified and turns them into ascii files.

Usage

subject_2_ascii(
  subject = "fsaverage5",
  hemisphere = c("rh", "lh"),
  surfaces = fs_surfaces(),
  curvatures = fs_curvatures(),
  nofix_curv = fs_nofixcurv(),
  subjects_dir = freesurfer::fs_subj_dir(),
  output_dir = subjects_dir,
  verbose = TRUE
)

Arguments

subject

Freesurfer subject, must exist in whatever subject directory specified or set in the environment with $SUBJECTS_DIR

hemisphere

hemisphere, either "rh" or "lh"

surfaces

string vector of surfaces

curvatures

string vector of curvatures

nofix_curv

string vector of nofix curvatures

subjects_dir

Freesurfer subject directory

output_dir

output directory path

verbose

logical indicating to be verbose or not

Value

no return. Writes files.

Examples

## Not run: 
subject_2_ascii()
subject_2_ascii("fsaverage")
subject_2_ascii("bert")

## End(Not run)

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