← Back to home
Comparison · Analytics

mutagen vs omock

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

mutagen vs omock: at a glance

Featuremutagenomock
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesdata-manipulation, tidyverse, stata-port, r-packageomop-cdm, synthetic-data, test-fixtures, health-data
Last editorial update57m ago5h 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 omock?

A mock-data generator for OMOP studies that keeps widening what it can fake.

omock builds synthetic OMOP Common Data Model tables so packages in the darwin-eu and OHDSI ecosystem can be tested without touching patient data. The 0.7.0 release adds concept set subsetting with its own vignette, unit and value support in mockMeasurement, observation date validation and cohort attrition initialization, while deprecating mockConcepts. Releases arrive as PR digests rather than written notes.

Read the full omock trajectory →

mutagen vs omock: 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.

O
omock
ANALYTICS
0.0

A mock-data generator for OMOP studies that keeps widening what it can fake.

◆ Current state

omock builds synthetic OMOP Common Data Model tables so packages in the darwin-eu and OHDSI ecosystem can be tested without touching patient data. The 0.7.0 release adds concept set subsetting with its own vignette, unit and value support in mockMeasurement, observation date validation and cohort attrition initialization, while deprecating mockConcepts. Releases arrive as PR digests rather than written notes.

◆ Where it's heading

The package has been moving from generating tables to shipping and managing reference datasets — mockDatasets arrived in 0.4.0, mockCdmFromDataset gained a source argument in 0.5.0, and 0.6.1 added download retry handling plus an internal GiBleed dataset after the hosted files moved. The recent work is filling in CDM fidelity: type concepts, measurement units, attrition, and guards for degenerate cases like an empty person table.

◆ Prediction

Expect coverage to keep extending table by table toward the parts of the CDM that omock still cannot mock, with mockConcepts removed outright once the concept set subsetting path settles.

Alternatives to mutagen and omock

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

See all mutagen alternatives → · See all omock alternatives →

Recent activity from mutagen and omock

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

  1. 1mo agoomockConcept set subsetting and richer measurement mocks
  2. 4mo agoomockDelphi dataset added and CDM version bumped
  3. 6mo agoomockDataset downloads survive the storage move
  4. 8mo agomutagengen_coldiff() added; two functions renamed for consistency
  5. 9mo agomutagengen_rowsum() and gen_rowsd() added
  6. 9mo agomutagengen_rownonmiss() and gen_rowall() added
  7. 9mo agomutagenRow mean, median and missingness helpers; gen_rowmatch renamed
  8. 11mo agomutagenFirst release with the row-wise gen_* family
  9. 11mo agoomockJOSS submission tag alongside the 0.5.0 release
  10. 11mo agoomockmockCdmFromDataset gains a source argument
  11. 1y agoomockmockDatasets introduces bundled reference data

Frequently asked questions

What is the difference between mutagen and omock?

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

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

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