atlas_polygons: Get atlas polygons for 2D rendering

View source: R/atlas_accessors.R

atlas_polygonsR Documentation

Get atlas polygons for 2D rendering

Description

Returns the brain_polygons representation of the atlas geometry, converting from sf when needed. The sf-optional counterpart to atlas_sf().

Usage

atlas_polygons(atlas)

Arguments

atlas

a ggseg_atlas object

Value

a brain_polygons data.frame

Examples

polys <- atlas_polygons(dk())

ggseg.formats documentation built on July 2, 2026, 5:07 p.m.