ggseg.formats

ggseg.formats 0.0.2.9004 (development)

Bug fixes

Breaking changes

Documentation & internals

sf-optional migration

Internal & tooling

ggseg.formats 0.0.2.9001 (development)

Base-R plot() (breaking)

plot.ggseg_atlas() is reimplemented with base graphics (graphics::polygon() / graphics::polypath()), and ggplot2 is dropped from Imports — the package no longer depends on ggplot2 for its own plotting.

Lighter dependency tree

Bundled SUIT cerebellar atlas

Unified geom slot (breaking)

Atlas 2D geometry now lives in a single atlas$data$geom slot whose class (sf or brain_polygons) determines the rendering path. The parallel sf and polygons slots are gone — conversion between the two is lossless, so only one representation is ever stored.

sf-optional atlas format

Foundation work for the sf-optional milestone — see ggsegverse/ggseg.formats#4.

sfheaders joins Imports. sf moves from Imports to Suggests. The package can now be installed without GDAL / GEOS / PROJ system libraries — enabling wasm builds and air-gapped installs. Functions that genuinely need sf (e.g. validate_sf(), as.data.frame.ggseg_atlas(), plot.ggseg_atlas(), the atlas_view_* repositioning helpers) check requireNamespace("sf") at entry and error with a clear pointer to as_polygon_atlas() if sf is unavailable. The bundled dk, aseg, and tracula atlases still carry their sf slots, so callers who have sf installed see no behavioural change.

Region geometry operations

sf-free view manipulation

ggseg.formats 0.0.2

Deep cerebellar nuclei support

Bug fixes

ggseg.formats 0.0.1

Initial CRAN release. Extracts and formalises the atlas data structures that were previously embedded in ggseg and ggseg3d.

Unified ggseg_atlas S3 class

Accessors

Atlas manipulation

Bundled atlases

Legacy conversion

FreeSurfer I/O