resample_surf

0th

Percentile

Resample a "surf" object

Resample a "surf" object by writing it to a GIFTI, using the Connectome Workbench to resample it, and then reading the new file.

Usage
resample_surf(
  surf,
  resamp_res,
  hemisphere = c("left", "right"),
  wb_path = NULL
)
Arguments
surf

A "surf" object

resamp_res

The desired resolution

hemisphere

"left" or "right". Only used if not indicated by surf$hemisphere. An error will be raised if it does not match the hemisphere indicated in the intermediate written GIFTI.

wb_path

(Optional) Path to Connectome Workbench folder or executable. If not provided, should be set with ciftiTools.setOption("wb_path", "path/to/workbench").

Value

The new surface

Aliases
  • resample_surf
Documentation reproduced from package ciftiTools, version 0.1.6.0, License: GPL-3

Community examples

Looks like there are no examples yet.