remap_cifti_wrapper | R Documentation |
remap_cifti
wrapperWrapper for remap_cifti
. Calls resample_cifti_components
using
the original file names listed in the original_fnames
argument and
the target file names listed in the remap_fnames
argument.
remap_cifti_wrapper(
original_fnames,
remap_fnames = NULL,
remap_method = c("adaptive", "barycentric"),
areaL_original_fname = NULL,
areaR_original_fname = NULL,
areaL_target_fname = NULL,
areaR_target_fname = NULL,
sphereL_original_fname = NULL,
sphereR_original_fname = NULL,
sphereL_target_fname = NULL,
sphereR_target_fname = NULL,
read_dir = NULL,
write_dir = NULL
)
original_fnames |
The files to remap. This is a named list
where each element's name is a file type label, and each element's value
is a file name. Labels must be one of the following: "cortexL", "cortexR",
"ROIcortexL", "ROIcortexR". If |
remap_fnames |
Where to write the resampled files. This is a named list where each entry's name is a file type label, and each entry's value is a file name indicating where to write the corresponding resampled file. The recognized file type labels are: "cortexL", "cortexR", "ROIcortexL", "ROIcortexR", "validROIcortexL", and "validROIcortexR". Entry values can be Entries in The |
remap_method |
For remapping between fs_LR group data and FreeSurfer fsaverage group data, adaptive resampling should be used. |
areaL_original_fname , areaR_original_fname |
File paths to the surfaces
to use for vertex area correction during adaptive resampling. (Only used if
resampling with the adaptive method.) For resampling: the Workbench command for adaptive resampling requires the
target surfaces for area correction too. But to make the workflow easier,
For remapping: |
areaL_target_fname , areaR_target_fname |
File paths to the surfaces
to use for vertex area correction during adaptive resampling. (Only used if
resampling with the adaptive method.) |
read_dir |
Directory to append to the path of every file being read,
e.g.
|
write_dir |
Where should the separate files be placed?
|
The return value of the resample_cifti_components
call
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.