Identify vertices which lie on the border of different parcels.
parc_borders(parc, surf = NULL, hemisphere = c("left", "right"))
Integer vector the same length as the number of vertices. Each entry indicates the parcel that vertex belongs to.
The surface which the vertices belong to, or just the "faces"
component (\(F x 3\) matrix where each row indicates the vertices which
comprise a face). If not provided, the (resampled) default hemisphere
surface included with ciftiTools
will be used.
Only used to choose which default surface to use if
is.null(surf)
. Should be "left"
(default) or "right"
.
Logical vector the same length as parc
indicating if the
vertex lies on a border.