Draws a second atlas into an existing plot, so a subcortical atlas can sit inside a cortical one, or two parcellations can be shown together.
Arguments
- p
A
ggseg3dwidget orggsegrayrgl object.- atlas
A
ggseg_atlasto add.- ...
Passed to the atlas's mesh preparation, as in
ggseg3d()–hemisphereandsurfacefor a cortical atlas, for instance.
Value
The input object, for piping. A ggsegray is returned unchanged:
rgl draws to the open device rather than into the object.
Details
Both atlases are drawn in their own coordinates, and nothing is registered between them – they line up because the ecosystem's atlases share an anatomical frame, not because this reconciles them. A flat (2D) cerebellar surface shares no frame with anatomical meshes, so combining one with another atlas is refused rather than drawn misaligned.
The added atlas keeps its own colours. The plot's legend describes the atlas it was built from, so colour a second atlas by palette rather than by values if the legend needs to be read.
See also
Other brain modifiers:
add_glassbrain(),
add_points(),
pan_camera(),
set_background(),
set_dimensions(),
set_edges(),
set_flat_shading(),
set_legend(),
set_orthographic(),
set_positioning()