resample_surf: Resample a '"surf"' object

Description Usage Arguments Value Connectome Workbench See Also

View source: R/resample_surf.R

Description

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

Usage

1
resample_surf(surf, resamp_res, hemisphere = c("left", "right"))

Arguments

surf

A "surf"

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.

Value

The new "surf"

Connectome Workbench

This function interfaces with the "-surface-resample" Workbench command.

See Also

Other functions for working with GIFTI surface geometry data: is.surf(), read_surf(), rotate_surf(), view_surf(), write_surf_gifti()


neuroconductor/ciftiTools documentation built on Dec. 22, 2021, 1:09 a.m.