Package: ALDEx3 1.4.0

ALDEx3: Linear Models for Sequence Count Data

Provides scalable generalized linear and mixed effects models tailored for sequence count data analysis (e.g., analysis of 16S or RNA-seq data). Uses Dirichlet-multinomial sampling to quantify uncertainty in relative abundance or relative expression conditioned on observed count data. Implements scale models as a generalization of normalizations which account for uncertainty in scale (e.g., total abundances) as described in Nixon et al. (2025) <doi:10.1186/s13059-025-03609-3> and McGovern et al. (2025) <doi:10.1101/2025.08.05.668734>.

Authors:Justin Silverman [aut, cre], Greg Gloor [aut], Kyle McGovern [aut, ctb]

ALDEx3_1.4.0.tar.gz
ALDEx3_1.4.0.zip(r-4.7-x86_64)ALDEx3_1.4.0.zip(r-4.7-arm64)ALDEx3_1.4.0.zip(r-4.6-x86_64)ALDEx3_1.4.0.zip(r-4.6-arm64)ALDEx3_1.4.0.zip(r-4.5-x86_64)
ALDEx3_1.4.0.tgz(r-4.6-x86_64)ALDEx3_1.4.0.tgz(r-4.6-arm64)ALDEx3_1.4.0.tgz(r-4.5-x86_64)ALDEx3_1.4.0.tgz(r-4.5-arm64)
ALDEx3_1.4.0.tar.gz(r-4.7-arm64)ALDEx3_1.4.0.tar.gz(r-4.7-x86_64)ALDEx3_1.4.0.tar.gz(r-4.6-arm64)ALDEx3_1.4.0.tar.gz(r-4.6-x86_64)
ALDEx3_1.4.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
ALDEx3/json (API)

# Install 'ALDEx3' in R:
install.packages('ALDEx3', repos = c('https://jsilve24.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/jsilve24/aldex3/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

Conda:

cpp

7.49 score 11 stars 67 scripts 661 downloads 7 exports 37 dependencies

Last updated from:08be12e740. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK234
linux-devel-x86_64OK270
source / vignettesOK269
linux-release-arm64OK258
linux-release-x86_64OK281
macos-release-arm64OK246
macos-release-x86_64OK371
macos-oldrel-arm64OK269
macos-oldrel-x86_64OK420
windows-devel-arm64OK452
windows-devel-x86_64OK309
windows-release-arm64OK445
windows-release-x86_64OK269
windows-oldrel-x86_64OK301
wasm-releaseOK138

Exports:aldexaldex.effectaldex.plotclr.smcoefficient.smsample.smtss.sm

Dependencies:abindbootclicpp11farverggplot2gluegtableisobandlabelinglatticelifecyclelme4lmerTestmagrittrMASSMatrixmatrixStatsminqanlmenloptrnumDerivpurrrR6rbibutilsRColorBrewerRcppRcppEigenRdpackreformulasrlangS7scalesTMBvctrsviridisLitewithr

ALDEx3 Mixed-Effects Engines
Motivation | What BLMM Approximates | Conceptual Formulation | Implemented Profiled Formulation | The parameter vector (\theta_s) determines the random-effects covariancerelative to the residual variance. As in lme4, BLMM represents this relativecovariance by a lower-triangular factor(\Lambda_ | \Lambda_{\theta_s}\Lambda_{\theta_s}^T,\qquad\operatorname{Var}(u_s) | The response-dependent part of the draw-specific criterion is the profiledweighted residual sum of squares[\mathrm{PWRSS}_s(\theta_s) | Let (\ell_s) denote the profiled REML objective that BLMM minimises. Up to anadditive constant that does not depend on the covariance parameters, it is[\ell_s(\theta_s) | More precisely, the anchor fit targets the average of the per-draw profiledREML criteria:[\bar{\ell}(\phi) | BLMM then takes a local second-order approximation around the anchor(\bar{\phi}). Let[H=\nabla^2\bar{\ell}(\bar{\phi})]denote the observed Hessian of the averaged objective at that anchor. For draw(s), BLMM computes the score correction[g_s | Conditional on (\phi_s), BLMM then solves the fixed effects exactly bygeneralized least squares:[\hat{\beta}_s | \left(X^T V_s^{-1}X\right)^{-1}X^T V_s^{-1} y_s,]where the marginal covariance implied by the updated parameters is[V_s | \sigma_s^2\left(Z\Sigma_{\theta_s}Z^T+I_N\right) | Assumptions and Scope | Validation Strategy | Worked Example | Example Comparison: lme4 Versus blmm | Runtime Scaling

Last update: 2026-10-06
Started: 2026-07-15

ALDEx3-Quickstart
ALDEx3 | Overview | Installation | Quickstart (Inference with Relative Abundances) | Mixed Effects Models | Inference with Absolute Abundances: Defining Scale Models | Prior Knowledge About a Group Difference | External Measurements for Individual Samples | CLR with Scale Uncertainty | Model Outputs | Plotting pairwise analyses

Last update: 2026-07-22
Started: 2026-01-13