neighbor_graph: construct neighborhood graph from surface mesh using edge...

Description Usage Arguments

Description

construct neighborhood graph from surface mesh using edge weights.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
neighbor_graph(x, radius, edgeWeights, nodes, ...)

## S4 method for signature 'igraph,numeric,missing,missing'
neighbor_graph(x, radius,
  distance_type = c("geodesic", "euclidean", "spherical"))

## S4 method for signature 'SurfaceGeometry,numeric,missing,missing'
neighbor_graph(x,
  radius, distance_type = c("geodesic", "euclidean", "spherical"))

## S4 method for signature 'SurfaceGeometry,numeric,numeric,missing'
neighbor_graph(x,
  radius, edgeWeights, distance_type = c("geodesic", "euclidean",
  "spherical"))

## S4 method for signature 'SurfaceGeometry,numeric,numeric,integer'
neighbor_graph(x,
  radius, edgeWeights, nodes, distance_type = c("geodesic", "euclidean",
  "spherical"))

## S4 method for signature 'SurfaceGeometry,numeric,missing,integer'
neighbor_graph(x,
  radius, nodes, distance_type = c("geodesic", "euclidean", "spherical"))

Arguments

x

surface mesh

radius

the edge radius defining the neighborhood

edgeWeights

vector of edgeWeights used to define edge distance.

nodes

the subset of nodes to use

...

extra arguments

distance_type

the distance function


bbuchsbaum/neurosurf documentation built on April 6, 2021, 10:08 a.m.