← Back to home
Comparison · Infra & APIs

ggalign vs mdatools

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

ggalign vs mdatools: at a glance

Featureggalignmdatools
SectorInfra & APIsInfra & APIs
Velocity score0.00.0
Sparks · 30d00
Top themesggplot2, layout, heatmaps, s7chemometrics, spectroscopy, classification, multiway-analysis
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 mdatools?

mdatools spun out its cross-validation method, then came back for three-way data.

mdatools is a long-running chemometrics package covering PCA, PLS regression, SIMCA and DD-SIMCA classification, MCR resolution and a large spectral preprocessing framework. Its releases are infrequent and each one tends to carry one substantive idea plus a handful of fixes. The June release opens a direction the package had not previously taken: DD-SIMCA classification of three-way data, through PARAFAC and Tucker decompositions.

Read the full mdatools trajectory →

ggalign vs mdatools: 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.

M
mdatools
INFRA · APIS
0.0

mdatools spun out its cross-validation method, then came back for three-way data.

◆ Current state

mdatools is a long-running chemometrics package covering PCA, PLS regression, SIMCA and DD-SIMCA classification, MCR resolution and a large spectral preprocessing framework. Its releases are infrequent and each one tends to carry one substantive idea plus a handful of fixes. The June release opens a direction the package had not previously taken: DD-SIMCA classification of three-way data, through PARAFAC and Tucker decompositions.

◆ Where it's heading

The shape of the package has been managed deliberately rather than allowed to sprawl. Procrustes cross-validation grew large enough to warrant its own package and was moved out to pcv in 0.14.0; preprocessing was consolidated in 0.12.0 into a composable prep() framework rather than a set of loose functions. Around that, the recurring work is numerical: a more stable SIMPLS implementation, cross-validation rewritten to accept user-supplied segment indices, prep.savgol() and prep.alsbasecorr() rewritten for speed, and now the baseline iteration default raised to match the web applications the maintainer also runs.

◆ Prediction

Three-way DD-SIMCA arrives with two decompositions and no companion regression or resolution methods for multiway data, so extending the multiway path to the rest of the toolkit is the obvious follow-up. The alignment of defaults with the maintainer's web applications suggests those two codebases will keep being reconciled.

Alternatives to ggalign and mdatools

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 mdatools.

See all ggalign alternatives → · See all mdatools alternatives →

Recent activity from ggalign and mdatools

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

  1. 1mo agomdatoolsDD-SIMCA classification arrives for three-way data
  2. 5mo agomdatoolsv. 0.15.0
  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 agomdatoolsData frames converted to matrices automatically for model training
  10. 3y agomdatoolscv.scope lets centering and scaling follow the global or local set
  11. 3y agomdatoolsProcrustes cross-validation moves out to its own pcv package
  12. 3y agomdatoolsgetRegcoeffs() fixed for unscaled models; ipls() gains a full mode

Frequently asked questions

What is the difference between ggalign and mdatools?

They serve adjacent needs but don't currently overlap on shipped themes. ggalign and mdatools 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 mdatools?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. ggalign and mdatools 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 mdatools?

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