vertices_to_text: Map vertices to text values for hover display

View source: R/brain-mesh.R

vertices_to_textR Documentation

Map vertices to text values for hover display

Description

Assigns text values to mesh vertices based on a column in atlas data. Used for per-vertex hover text in the Three.js tooltip.

Usage

vertices_to_text(atlas_data, n_vertices, text_col)

Arguments

atlas_data

Data frame with vertices list column

n_vertices

Number of vertices in the mesh

text_col

Name of the column containing text values

Value

Character vector of text values, one per mesh vertex


ggseg3d documentation built on Feb. 21, 2026, 1:06 a.m.