View source: R/resample_cifti.R
resample_cifti_wrapper | R Documentation |
resample_cifti
wrapperCalls resample_cifti_components
using the original file names
listed in the original_fnames
argument and the target file names
listed in the resamp_fnames
argument.
resample_cifti_wrapper(
original_fnames,
resamp_fnames = NULL,
original_res,
resamp_res,
resamp_method = c("barycentric", "adaptive"),
areaL_original_fname = NULL,
areaR_original_fname = NULL,
surfL_original_fname = NULL,
surfR_original_fname = NULL,
surfL_target_fname = NULL,
surfR_target_fname = NULL,
read_dir = NULL,
write_dir = NULL
)
original_fnames |
The files to resample. 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", "surfL", or "surfR". If
|
resamp_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 |
original_res |
The original resolution(s) of the CIFTI cortical surface(s). |
resamp_res |
Target resolution for resampling (number of cortical surface vertices per hemisphere). |
surfL_target_fname , surfR_target_fname |
(Optional) File path for the resampled GIFTI surface geometry file representing the left/right cortex. If NULL (default), |
read_dir |
Directory to append to the path of every file being read,
e.g.
|
write_dir |
Where should the separate files be placed?
|
Currently used by read_cifti and resample_cifti.
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.