remap_gifti | R Documentation |
Remap GIFTI metric or label data between two different spaces, such as
between FreeSurfer fsaverage group data and fs_LR group data. This function
is a wrapper to resample_gifti
.
remap_gifti(
original_fname,
target_fname,
hemisphere = c("left", "right"),
remap_method = c("adaptive", "barycentric"),
area_original_fname,
area_target_fname,
ROIcortex_original_fname,
ROIcortex_target_fname,
sphere_original_fname,
sphere_target_fname
)
original_fname |
The GIFTI file to remap. |
target_fname |
Where to save the remapped file. |
hemisphere |
|
remap_method |
For remapping between fs_LR group data and FreeSurfer fsaverage group data, adaptive resampling should be used. |
area_original_fname , area_target_fname |
File paths to the surfaces to
use for vertex area correction during adaptive resampling. Required if
|
ROIcortex_original_fname , ROIcortex_target_fname |
|
sphere_original_fname , sphere_target_fname |
File paths to the sphere surfaces in the original and target spaces. |
The remapped GIFTI file name, invisibly
This function interfaces with the "-metric-resample"
, "-label-resample"
,
and/or "-surface-resample"
Workbench commands, depending on the input.
Other gifting:
resample_gifti()
,
smooth_gifti()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.