brainparc_neighbors: Compute adjacency of surface parcellation (annot) regions.

Description Usage Arguments Value

View source: R/annot_neighbors.R

Description

Given a brain surface and a parcellation into regions, find out which regions are adjacent to each other. A region i is adjacent to another region j if an edge connects any vertex of i with any vertex of i. Works with brainparcellations.

Usage

1

Arguments

bp

a brainparc instance

Value

hemilist of named integer matrix of regions, expressing whether they are direct neighbors (value 1L) or not (value 0L).


dfsp-spirit/brainloc documentation built on Jan. 28, 2022, 12:25 p.m.