Skip to contents

A region in core with no geometry in any view is invisible: it joins, it carries a colour, and nothing appears. It is the failure mode of choosing which slabs to keep, and it is silent – the atlas validates, plots without complaint, and simply omits the region.

Usage

atlas_undrawn(atlas)

Arguments

atlas

A ggseg_atlas.

Value

The core labels with no geometry in any view, as a character vector; empty when every region is drawn somewhere.

Details

Build scripts narrow a pipeline's slabs to the few that read well. That choice is a measurement of the geometry underneath it, so it goes stale when the geometry changes. Asserting on this after the narrowing turns a silent omission into a failed build.

Examples

atlas_undrawn(aseg())
#> character(0)