smooth_gifti | R Documentation |
Smooths metric GIFTI data along the cortical surface. The results are written to a new GIFTI file.
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
)
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: |
The smoothed GIFTI file name, invisibly
This function interfaces with the "-metric-smoothing"
Workbench command.
Other gifting:
remap_gifti()
,
resample_gifti()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.