Resamples GIFTI surface files between fsaverage and fsLR coordinate
spaces using Connectome Workbench via ciftiTools.
Arguments
- paths
Character vector of GIFTI file paths to transform.
- target_space
Target coordinate space:
"fsLR"or"fsaverage".- target_density
Target mesh density (e.g.,
"32k","164k").- hemisphere
Which hemispheres to transform:
"left","right", or both.- method
Resampling method:
"adaptive"(default) or"barycentric".- area_surf_current
Path to the current-resolution area-correction surface (e.g. midthickness). Recommended when
method = "adaptive"for proper vertex-area correction (matches neuromaps Python behaviour).- area_surf_new
Path to the target-resolution area-correction surface. If
NULLandarea_surf_currentis provided, ciftiTools resamples it barycentrically.- wb_path
Path to
wb_commandexecutable. IfNULL, auto-detected viaciftiTools.- verbose
Logical, print progress messages.