Learn R Programming

ciftiTools (version 0.9.0)

fix_gifti_mwall: Fix GIFTI medial wall

Description

Replace implicit medial wall values (not indicated in ROI, but are in mwall_values) with explicit medial wall values (indicated in ROI) in a metric GIFTI file.

Usage

fix_gifti_mwall(
  metric_fname,
  fixed_metric_fname,
  ROI_fname,
  fixed_ROI_fname,
  mwall_values = c(NA, NaN)
)

Arguments

metric_fname

File path to the data GIFTI

fixed_metric_fname

File path to the revised data GIFTI

ROI_fname

File path to the ROI GIFTI

fixed_ROI_fname

File path to the revised ROI GIFTI

mwall_values

The values to use to infer the medial wall. Default: c(NA, NaN).

Value

NULL, invisibly