Compute the border vertices for each region in an annot.
annot.outline.border.vertices(
annotdata,
surface_mesh,
silent = TRUE,
expand_inwards = 0L,
limit_to_regions = NULL
)
named list, the keys are the region names and the values are vectors of integers encoding vertex indices.
an annotation, as returned by functions like subject.annot
. If a character string, interpreted as a path to a file containing such data, and loaded with freesurferformats::read.fs.annot
brain surface mesh, as returned by functions like subject.surface
or read.fs.surface
. If a character string, interpreted as a path to a file containing such data, and loaded with freesurferformats::read.fs.surface
logical, whether to suppress status messages.
integer, additional thickness of the borders. Increases computation time, defaults to 0L.
vector of character strings or NULL, a list of regions for which to draw the outline (see get.atlas.region.names
). If NULL, all regions will be used. If (and only if) this parameter is used, the 'outline_color' parameter can be a vector of color strings, one color per region.