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.


fsbrain documentation built on July 9, 2023, 7:12 p.m.