smooth_gifti {ciftiTools} | R Documentation |
Smooth a metric GIFTI file
Description
Smooths metric GIFTI data along the cortical surface. The results are written to a new GIFTI file.
Usage
smooth_gifti(
original_fname,
target_fname,
surf_fname = NULL,
surf_FWHM = 5,
hemisphere = c("left", "right"),
ROI_fname = NULL,
zeroes_as_NA = FALSE
)
smoothGIfTI(
original_fname,
target_fname,
surf_fname,
surf_FWHM = 5,
zeroes_as_NA = FALSE
)
smoothgii(
original_fname,
target_fname,
surf_fname,
surf_FWHM = 5,
zeroes_as_NA = FALSE
)
Arguments
original_fname |
The GIFTI file to smooth. |
target_fname |
Where to save the smoothed file. |
surf_fname |
Surface GIFTI files cortical surface along which to smooth. If not provided, the default inflated surfaces will be used. |
surf_FWHM |
The full width at half maximum (FWHM) parameter
for the gaussian surface smoothing kernel, in mm. Default: |
hemisphere |
The cortex hemisphere: |
ROI_fname |
The ROI to limit smoothing to, as a metric file. This is used to exclude the medial wall from smoothing. If not provided (default) all the data is smoothed across the surface. |
zeroes_as_NA |
Should zero-values be treated as NA? Default: |
Value
The smoothed GIFTI file name, invisibly
Connectome Workbench
This function interfaces with the "-metric-smoothing"
Workbench command.
See Also
Other gifting:
remap_gifti()
,
resample_gifti()