Description Usage Arguments Value
View source: R/annot_neighbors.R
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.
1 |
bp |
a brainparc instance |
hemilist of named integer matrix of regions, expressing whether they are direct neighbors (value 1L
) or not (value 0L
).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.