fs.surface.as.adjacencylist: Turn surface mesh into a igraph and return its adjacency list...

View source: R/brain_igraph.R

fs.surface.as.adjacencylistR Documentation

Turn surface mesh into a igraph and return its adjacency list representation.

Description

Turn surface mesh into a igraph and return its adjacency list representation.

Usage

fs.surface.as.adjacencylist(surface)

Arguments

surface

an fs.surface instance as returned by subject.surface, an existing igraph (which will be returned as-is) or a string which is interpreted as a path to a surface file.

Value

list of integer vectors, the adjacency list.


dfsp-spirit/nitools documentation built on Jan. 26, 2024, 8:24 p.m.