← Back to home
Comparison · Infra & APIs

ggalign vs prospectr

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

ggalign vs prospectr: at a glance

Featureggalignprospectr
SectorInfra & APIsInfra & APIs
Velocity score0.00.0
Sparks · 30d00
Top themesggplot2, layout, heatmaps, s7spectroscopy, signal-processing, preprocessing, calibration-sampling
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 prospectr?

prospectr spent its biggest release in years fixing spectra it had been quietly mangling.

prospectr provides the signal-processing layer for near-infrared and visible spectroscopy in R — Savitzky-Golay and gap-segment derivatives, standard normal variate, detrending, continuum removal, splice correction, plus calibration sampling algorithms like Kennard-Stone and DUPLEX and readers for ASD and BUCHI NIRCal instrument files. The May release is the substantial one: a long list of corrections to functions that were returning wrong or missing values rather than failing.

Read the full prospectr trajectory →

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

P
prospectr
INFRA · APIS
0.0

prospectr spent its biggest release in years fixing spectra it had been quietly mangling.

◆ Current state

prospectr provides the signal-processing layer for near-infrared and visible spectroscopy in R — Savitzky-Golay and gap-segment derivatives, standard normal variate, detrending, continuum removal, splice correction, plus calibration sampling algorithms like Kennard-Stone and DUPLEX and readers for ASD and BUCHI NIRCal instrument files. The May release is the substantial one: a long list of corrections to functions that were returning wrong or missing values rather than failing.

◆ Where it's heading

The recent work is corrective rather than additive, and several items changed results silently before being caught. continuumRemoval() derived its convex-hull boundary offset from a fixed one-wavelength assumption that broke for fine-resolution spectra or non-nanometre units; cochranTest() passed an invalid argument name to prcomp() and produced incorrect principal component scores; readASD() silently dropped spectra in one branch of its text path. Two file readers were leaking connections. Alongside that runs a smaller thread of decoupling preprocessing steps from each other, most visibly detrend() gaining an snv argument so polynomial detrending can run without the SNV transform that Barnes et al. bundled with it.

◆ Prediction

The detrend() decoupling is the only recent addition and it fits a broader pipeline-composition direction, so similar separation of other bundled preprocessing steps is the plausible next move. The misspelled substraction argument now carries a deprecation warning, which schedules its removal for a future release.

Alternatives to ggalign and prospectr

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

See all ggalign alternatives → · See all prospectr alternatives →

Recent activity from ggalign and prospectr

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

  1. 1mo agoprospectrdetrend() can run without a prior SNV transformation
  2. 2mo agoprospectrContinuum removal, SNV and cochranTest corrected; readers stop leaking
  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 agoprospectrread_nircal() sample ID field fix
  9. 1y agoggalignLayouts split into discrete and continuous; linking system added
  10. 3y agoprospectrNon-UTF8 sample IDs no longer become NA
  11. 4y agoprospectrkenStone() bug fix
  12. 4y agoprospectrread_nircal() execution failure fixed

Frequently asked questions

What is the difference between ggalign and prospectr?

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

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

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