fs.surface.as.adjacencylist {fsbrain}R 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.


[Package fsbrain version 0.5.5 Index]