position_hemisphere: Position hemisphere vertices for anatomical display

View source: R/brain-mesh.R

position_hemisphereR Documentation

Position hemisphere vertices for anatomical display

Description

Offsets hemisphere vertices so left is at negative x and right at positive x, with medial surfaces adjacent at the midline. Used by [add_glassbrain()] for anatomical context.

Usage

position_hemisphere(vertices, hemisphere)

Arguments

vertices

data.frame with x, y, z columns

hemisphere

"left" or "right"

Value

data.frame with adjusted x coordinates


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