smooth_surf {VertexWiseR}R Documentation

Smooth surface

Description

Smooths surface data at defined full width at half maximum (FWHM) as per the corresponding template of surface data

Usage

smooth_surf(surf_data, FWHM, VWR_check = TRUE)

Arguments

surf_data

A matrix object containing the surface data, see SURFvextract() or HIPvextract() output format

FWHM

A numeric vector object containing the desired smoothing width in mm

VWR_check

A boolean object specifying whether to check and validate system requirements. Default is TRUE.

Value

A matrix object with smoothed vertex-wise values

Examples

surf_data = readRDS(file = url(paste0("https://github.com",
"/CogBrainHealthLab/VertexWiseR/blob/main/inst/demo_data/",
"FINK_Tv_ses13.rds?raw=TRUE")))[1:3,]
surf_data_smoothed=smooth_surf(surf_data, 10, VWR_check=FALSE);

[Package VertexWiseR version 1.0.0 Index]