← Back to home
Comparison · Analytics

mutagen vs shapviz

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

mutagen vs shapviz: at a glance

Featuremutagenshapviz
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesdata-manipulation, tidyverse, stata-port, r-packageshap, visualization, model explainability, ggplot2
Last editorial update1h ago8h ago
WebsiteVisit →Visit →

What is mutagen?

A young package porting Stata's egen row-wise helpers to the tidyverse, one function per release

mutagen provides row-wise column-generation helpers for R data frames in the spirit of Stata's egen — gen_rowmean(), gen_rowsum(), gen_rowsd(), gen_rownonmiss() and about a dozen siblings. It reached 0.5.0 within three months of its first release, adding two or three functions each time. The most recent release adds gen_coldiff() and renames two functions to fit the naming scheme.

Read the full mutagen trajectory →

What is shapviz?

shapviz refines its SHAP plots release by release while chasing ggplot2's moving target.

shapviz turns SHAP values from XGBoost, LightGBM, H2O, kernelshap and other sources into standard diagnostic plots — importance, dependence, waterfall, force and interaction. Recent work is plot ergonomics: shared y-axis control across dependence plots, a bar view for interaction values, and axis collection via patchwork. The two most recent releases are pure compatibility and bug fixes.

Read the full shapviz trajectory →

mutagen vs shapviz: editorial side-by-side

M
mutagen
ANALYTICS
0.0

A young package porting Stata's egen row-wise helpers to the tidyverse, one function per release

◆ Current state

mutagen provides row-wise column-generation helpers for R data frames in the spirit of Stata's egen — gen_rowmean(), gen_rowsum(), gen_rowsd(), gen_rownonmiss() and about a dozen siblings. It reached 0.5.0 within three months of its first release, adding two or three functions each time. The most recent release adds gen_coldiff() and renames two functions to fit the naming scheme.

◆ Where it's heading

The package is filling out a known surface rather than discovering one: the reference implementation exists in Stata, so development is a matter of working through the list. Alongside that, the naming convention is still settling — gen_rowmatch became gen_rowany, gen_percent became gen_colpercent, gen_na_listcol became gen_listcol_na — which is normal for a pre-1.0 package but means callers should expect further renames. Contributions are arriving from several first-time contributors.

◆ Prediction

The gen_col* prefix has only two members against a dozen gen_row* functions, so column-wise coverage is the obvious gap; expect it to fill before the naming stabilises for a 1.0.

S
shapviz
ANALYTICS
0.0

shapviz refines its SHAP plots release by release while chasing ggplot2's moving target.

◆ Current state

shapviz turns SHAP values from XGBoost, LightGBM, H2O, kernelshap and other sources into standard diagnostic plots — importance, dependence, waterfall, force and interaction. Recent work is plot ergonomics: shared y-axis control across dependence plots, a bar view for interaction values, and axis collection via patchwork. The two most recent releases are pure compatibility and bug fixes.

◆ Where it's heading

Two threads run in parallel here. One is visual refinement converging on conventions from Python's shap — the 0.10.0 notes openly float switching share_y to TRUE to match it. The other is connector maintenance, keeping pace with H2O, XGBoost 1.x and 2.x, shapr and permshap as each changes. Neither thread adds new explanation methods; shapviz's job is presentation, and it is being polished rather than extended.

◆ Prediction

Expect share_y = TRUE to become the default and further ggplot2 4.x fallout, with connector updates arriving as the upstream SHAP packages release.

Alternatives to mutagen and shapviz

Other Analytics 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 mutagen or shapviz.

See all mutagen alternatives → · See all shapviz alternatives →

Recent activity from mutagen and shapviz

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

  1. 8mo agomutagengen_coldiff() added; two functions renamed for consistency
  2. 9mo agomutagengen_rowsum() and gen_rowsd() added
  3. 9mo agomutagengen_rownonmiss() and gen_rowall() added
  4. 9mo agomutagenRow mean, median and missingness helpers; gen_rowmatch renamed
  5. 10mo agoshapvizggplot 4.0 compatibility fix
  6. 11mo agomutagenFirst release with the row-wise gen_* family
  7. 1y agoshapvizFixes duplicated bars in sv_interaction()
  8. 1y agoshapvizggplot2 and patchwork dependency bumps
  9. 1y agoshapvizShared y-axis control and bar-style interaction plots
  10. 1y agoshapvizH2O random forests gain TreeSHAP support
  11. 1y agoshapvizFixes a broken vignette link

Frequently asked questions

What is the difference between mutagen and shapviz?

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

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. mutagen and shapviz 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 Analytics products to evaluate alongside.

What are the best alternatives to mutagen?

Top mutagen alternatives in Analytics are ranked by recent ship velocity. Browse the "mutagen alternatives" section above for the current picks, or visit /alternatives/mutagen-r for the full list with editorial commentary on each.

What are the best alternatives to shapviz?

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