Skip to content

dMod2 0.17.0 - #37

Merged
simonbeyer1 merged 1 commit into
masterfrom
release-0.17.0
Nov 25, 2026
Merged

simonbeyer1 merged 1 commit into
masterfrom
release-0.17.0

Conversation

@simonbeyer1

Copy link
Copy Markdown
Member

dMod2 0.17.0.

Spike and slab with a given spike and slab mean

  • spikeSlab(mean = , spike = ): the prior (1 - prob) delta_spike + prob N(mean, tau^2), spike = -Inf included, which switches a parameter under an exponential transformation off. gr(dist = ) without a grouping column makes one group of all conditions, so that k ~ 0 + (1 | gr(dist = spikeSlab(spike = -Inf))) selects reaction rates.
  • em(method = "focei") and em(method = "quadrature") fit these random effects, also beside normal ones of the same grouping: the sum over all subsets per group, Laplace integrals or sparse grids, with EC in the rate coordinate beyond the budget. em(method = "saem") draws them with the spike at -Inf included.
  • The quadrature of em() refines the sparse grids dimension-adaptively (Gerstner and Griebel 2003) in C++ (src/adaptiveGrid.cpp).

symident 0.18.1

  • Requires symident >= 0.18.1 (on PyPI): work limits instead of time limits in the global analysis, and msolve calls that close their files.

Review of the whole package

  • compile() never unloads a loaded shared object: without output a source whose shared object is loaded is skipped, with output the suffixed name reaches the model names. getLocalDLLs() matches the working directory as a path prefix.
  • exportSbml() writes a root event as two events, root >= 0 and root <= 0, initially true, so the SBML model fires at crossings in both directions and not at the start, as cppDE does; importSbml() joins such a pair into one root event. SBML and PEtab formulas evaluate with the functions of ?cppDE::expressions only.
  • fitErrorModel() fits with the symbolic gradient of the error model; its group column is group. plotPairs() and getObservables(), generics without methods, are removed.
  • Fixes in confint(), mstrust(), trust() with multiple shooting, * of functions without common conditions, PEtab import; size and index checks in the C++ kernels; examples for about 30 exports.

Checks

  • Full test suite (54 files) on Linux; R CMD check --as-cran with tests: 5244 passed, 1 WARNING (Remotes, cppDE not on CRAN).

examples/oppeltNPJSystBiolAppl2018/results/symmetries.rds and reduction.rds are still from symident 0.17 and are recomputed with 0.18.1 separately.

See NEWS.md.

…ed, fitted by focei, quadrature and saem beside normal random effects; gr(dist = ) without a grouping; dimension-adaptive sparse grids in C++ for the quadrature of em(); symident >= 0.18.1; review of the whole package: compile() never unloads a shared object, SBML root events as two triggers, fitErrorModel() with the symbolic gradient, plotPairs() and getObservables() removed, checks in the C++ kernels; dMod2 0.17.0

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@simonbeyer1
simonbeyer1 merged commit 02c9b81 into master Nov 25, 2026
6 checks passed
@simonbeyer1
simonbeyer1 deleted the release-0.17.0 branch November 25, 2026 09:56
@simonbeyer1

Copy link
Copy Markdown
Member Author

Merged by fast-forward as 02c9b81 after all checks passed (Ubuntu release and devel, Windows, macOS, Fedora). Tagged v0.17.0. The pkgdown site rebuilds from the push to master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant