Description Usage Arguments Value Connectome Workbench
View source: R/resample_gifti.R
Perform spatial resampling of GIFTI data on the cortical surface (metric and label), or of GIFTI surface geometry data itself.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | resample_gifti(
original_fname,
target_fname,
hemisphere = c("left", "right"),
file_type = NULL,
original_res = NULL,
resamp_res,
ROIcortex_original_fname = NULL,
ROIcortex_target_fname = NULL,
read_dir = NULL,
write_dir = NULL
)
resampleGIfTI(
original_fname,
target_fname,
hemisphere,
file_type = NULL,
original_res = NULL,
resamp_res,
ROIcortex_original_fname = NULL,
ROIcortex_target_fname = NULL,
read_dir = NULL,
write_dir = NULL
)
resamplegii(
original_fname,
target_fname,
hemisphere,
file_type = NULL,
original_res = NULL,
resamp_res,
ROIcortex_original_fname = NULL,
ROIcortex_target_fname = NULL,
read_dir = NULL,
write_dir = NULL
)
|
original_fname |
The GIFTI file to resample. |
target_fname |
Where to save the resampled file. |
hemisphere |
|
file_type |
|
original_res |
The resolution of the original file. If |
resamp_res |
Target resolution for resampling (number of cortical surface vertices per hemisphere). |
ROIcortex_original_fname |
The name of the ROI file corresponding to
|
ROIcortex_target_fname |
The name of the resampled ROI file. Only
applicable if |
read_dir |
Directory to append to the path of every file name in
|
write_dir |
Directory to append to the path of every file name in
|
The resampled GIFTI file name, invisibly
This function interfaces with the "-metric-resample"
, "-label-resample"
,
and/or "-surface-resample"
Workbench commands, depending on the input.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.