Skip to contents

Plotting

Core 3D visualization function

ggseg3d()
Plot 3D brain parcellations
ggsegray()
Render brain atlas with rgl

Widget Customization

Pipe-friendly functions to modify the 3D widget

pan_camera()
Pan camera position of ggseg3d plot
add_glassbrain()
Add glass brain to ggseg3d plot
set_background()
Set background color of ggseg3d plot
set_dimensions()
Set widget dimensions
set_edges()
Set region boundary edges
set_flat_shading()
Enable flat shading for ggseg3d plot
set_legend()
Set legend visibility
set_orthographic()
Enable orthographic camera for ggseg3d plot
set_positioning()
Set hemisphere positioning mode
snapshot_brain()
Save ggseg3d widget as image

Mesh Utilities

Work with brain surface meshes

resolve_brain_mesh()
Resolve brain surface mesh

Shiny

Shiny integration

ggseg3dOutput() renderGgseg3d()
Shiny bindings for ggseg3d
updateGgseg3dCamera()
Update camera in Shiny
updateGgseg3dBackground()
Update background in Shiny