← Back to home
Comparison · Infra & APIs

ggalign vs tf

A side-by-side editorial comparison of ggalign and tf — release velocity, themes, recent moves, and the top alternatives to consider.

ggalign vs tf: at a glance

Featureggaligntf
SectorInfra & APIsInfra & APIs
Velocity score0.00.0
Sparks · 30d00
Top themesggplot2, layout, heatmaps, s7functional-data-analysis, vctrs, multivariate, r-packages
Last editorial update1h ago4h ago
WebsiteVisit →Visit →

What is ggalign?

Composable aligned layouts, rebuilt on S7 while ggplot2 4.0 lands underneath.

ggalign composes multiple ggplots against a shared observation ordering, covering heatmap annotation, oncoplots, phylogenies and circular layouts. Releases have come roughly monthly through 2025, first completing the layout system, then migrating the internals to S7 and absorbing the ggplot2 4.0 changes. The alignment machinery is now exported for other packages to build on.

Read the full ggalign trajectory →

What is tf?

tf gave functional data a second dimension: curves whose values are vectors.

tf supplies the vector classes underneath the tidyfun stack — tfd for raw functional observations, tfb for basis-represented ones, both built on vctrs so curves sit in a data frame column and behave like any other vector. Until July that codomain was scalar. The 0.5.0 release adds tfd_mv and tfb_mv, classes for functions whose values are vectors in R^d, and rebuilds the analysis verbs to match.

Read the full tf trajectory →

ggalign vs tf: editorial side-by-side

G
ggalign
INFRA · APIS
0.0

Composable aligned layouts, rebuilt on S7 while ggplot2 4.0 lands underneath.

◆ Current state

ggalign composes multiple ggplots against a shared observation ordering, covering heatmap annotation, oncoplots, phylogenies and circular layouts. Releases have come roughly monthly through 2025, first completing the layout system, then migrating the internals to S7 and absorbing the ggplot2 4.0 changes. The alignment machinery is now exported for other packages to build on.

◆ Where it's heading

Two threads run in parallel. One widens what can be aligned, with sector facets, ideograms, image point shapes and observation linking. The other keeps rebuilding the foundation, with the S7 migration, repeated renames toward consistent naming, and the deliberate handing of element_polygon() and element_curve() upstream to ggplot2. The renaming is aggressive enough that each recent release soft-deprecates something.

◆ Prediction

With the internals on S7 and the Patch object exported, the next step is most likely stabilising those names rather than another refactor.

T
tf
INFRA · APIS
0.0

tf gave functional data a second dimension: curves whose values are vectors.

◆ Current state

tf supplies the vector classes underneath the tidyfun stack — tfd for raw functional observations, tfb for basis-represented ones, both built on vctrs so curves sit in a data frame column and behave like any other vector. Until July that codomain was scalar. The 0.5.0 release adds tfd_mv and tfb_mv, classes for functions whose values are vectors in R^d, and rebuilds the analysis verbs to match.

◆ Where it's heading

The package is widening what a functional observation can be, then porting the toolkit onto it. Registration arrived first in 0.4.0 for univariate curves and immediately gained an srvf_mv method for aligning components jointly, and tfb_mfpc() ports principal component analysis to the multivariate case with a single set of scores shared across components. Alongside that runs steady dependency shedding — mvtnorm and pracma both replaced by inlined samplers that reproduce prior draws bit-for-bit, glue dropped for cli in the previous release — and an unusually long tail of NA-handling and edge-case fixes, several caught in pre-release review of the new classes.

◆ Prediction

The new classes ship with FPCA, registration and shape alignment but the release notes describe tidyfun::tf_unnest() as the consumer of one new export, so the visible next step is the rest of the tidyfun stack catching up to vector-valued columns. Expect follow-up patches on the vctrs casting paths, which is where most of this release's late fixes clustered.

Alternatives to ggalign and tf

Other Infra & APIs products tracked by Sparkpulse, ranked by recent ship velocity. Each card links to a full editorial trajectory and lets you pivot into a head-to-head comparison with either ggalign or tf.

See all ggalign alternatives → · See all tf alternatives →

Recent activity from ggalign and tf

Latest ship moves from both products, interleaved chronologically. ⚡ = editorial spark.

  1. 1mo agotfVector-valued functional data becomes a first-class type
  2. 5mo agotfCurve registration, five depth measures and sub-domain splitting
  3. 10mo agoggalignalignpatch internals moved to S7; Patch object exported
  4. 11mo agoggalignInternals migrated to S7; ideogram, tags and image shapes
  5. 1y agoggalignz aesthetic scales and guide collection in borders
  6. 1y agoggalignchannelGrob() draws across facets; ggplot2 3.5.2 fix
  7. 1y agoggalignLayout system declared complete; polar facets and coord_circle()
  8. 1y agoggalignLayouts split into discrete and continuous; linking system added
  9. 2y agotfFix: tf_crosscov normalization

Frequently asked questions

What is the difference between ggalign and tf?

They serve adjacent needs but don't currently overlap on shipped themes. ggalign and tf are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is ggalign better than tf?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. ggalign and tf are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). For your specific use case, the alternatives sections above list other Infra & APIs products to evaluate alongside.

What are the best alternatives to ggalign?

Top ggalign alternatives in Infra & APIs are ranked by recent ship velocity. Browse the "ggalign alternatives" section above for the current picks, or visit /alternatives/ggalign for the full list with editorial commentary on each.

What are the best alternatives to tf?

Top tf alternatives in Infra & APIs are ranked by recent ship velocity. Browse the "tf alternatives" section above for the current picks, or visit /alternatives/tf for the full list with editorial commentary on each.