SurfaceDisk: Create a Region on Surface

View source: R/ROI.R

SurfaceDiskR Documentation

Create a Region on Surface

Description

Creates a Region on a Surface from a radius and surface

Usage

SurfaceDisk(surf, index, radius, max_order = NULL)

Arguments

surf

a SurfaceGeometry or BrainSurface or BrainSurfaceVector

index

the index of the central surface node. Must be an integer within1:length(V(surf@graph)).

radius

the size in mm of the geodesic radius. Must be a single positive numeric value.

max_order

maximum number of edges to traverse. default is computed based on average edge length.

Details

The igraph object contained in surf must provide an edge attribute named dist and it must not contain NA values.


bbuchsbaum/neurosurf documentation built on June 10, 2025, 8:22 p.m.