Compact a subcortical atlas layout
compact_subcortical_layout.RdRepositions complete hemisphere/view groups according to their subcortical bounding boxes. Parcel shapes and their relative positions within each group are unchanged. This is useful when the cortex is omitted and cortex-sized grid spacing leaves excessive empty space between subcortical structures.
Usage
compact_subcortical_layout(
x,
horizontal_gap = 0.05,
vertical_gap = 0.05,
drop_cortex = TRUE
)Arguments
- x
An
sfatlas or a list returned bybuild_atlas_surf().- horizontal_gap
Horizontal gap between hemisphere groups.
- vertical_gap
Vertical gap between view rows.
- drop_cortex
When
TRUE, removecortexandcortex_silhouettefrom list inputs because the compact layout is intended for cortex-free plots.