Package: radEmu 2.4.0.0

Amy D Willis

radEmu: Using Relative Abundance Data to Estimate of Multiplicative Differences in Mean Absolute Abundance

A differential abundance method for the analysis of microbiome data. 'radEmu' estimates fold-differences in the abundance of taxa across samples relative to "typical" fold-differences. Notably, it does not require pseudocounts, nor choosing a denominator taxon. For more details, see Clausen et al. (2026) <doi:10.1093/biomet/asag009>.

Authors:David Clausen [aut], Amy D Willis [aut, cre], Sarah Teichman [aut]

radEmu_2.4.0.0.tar.gz
radEmu_2.4.0.0.zip(r-4.7-any)radEmu_2.4.0.0.zip(r-4.6-any)radEmu_2.4.0.0.zip(r-4.5-any)
radEmu_2.4.0.0.tgz(r-4.6-any)radEmu_2.4.0.0.tgz(r-4.5-any)
radEmu_2.4.0.0.tar.gz(r-4.7-any)radEmu_2.4.0.0.tar.gz(r-4.6-any)
radEmu_2.4.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
radEmu/json (API)

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

Bug tracker:https://github.com/statdivlab/rademu/issues

Pkgdown/docs site:https://statdivlab.github.io

Datasets:
  • power_model - A fitted GLM model for the power of radEmu to reject a truly false null hypothesis
  • wirbel_otu - MOTU table from Wirbel et al. meta-analysis of fecal metagenomes.
  • wirbel_otu_small - Subset of mOTU table from Wirbel et al. meta-analysis of fecal metagenomes.
  • wirbel_sample - Covariates from Wirbel et al. meta-analysis of fecal metagenomes.
  • wirbel_sample_small - Covariates from Wirbel et al. meta-analysis of fecal metagenomes, for a subset of samples.
  • wirbel_taxonomy - Taxonomy information for mOTUs from Wirbel et al. meta analysis.

On CRAN:

Conda:

dametagenomicsmicrobiomestatistics

8.08 score 68 stars 318 downloads 10 exports 5 dependencies

Last updated from:339e3a774d. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK213
source / vignettesOK375
linux-releaseOK224
macos-releaseOK261
macos-oldrelOK253
windows-develOK264
windows-releaseOK206
windows-oldrelOK235
wasm-releaseOK115

Exports:control_fndpseudohuber_median_dxdpsuedohuber_median_dxemuFitemuFit_micromake_design_matrixmake_reference_constraintspseudohuber_medianpsuedohuber_medianscore_test

Dependencies:latticemagrittrMASSMatrixrlang

Introduction to radEmu
Introduction | Loading and exploring data | Fitting a model | A more reasonable model

Last update: 2026-11-16
Started: 2024-02-06

Introduction to radEmu with phyloseq
Introduction | Loading and exploring data | Fitting a model

Last update: 2026-11-11
Started: 2024-02-06

Introduction to radEmu with TreeSummarizedExperiment
Introduction | Loading and exploring data | Fitting a model

Last update: 2026-11-11
Started: 2025-01-14

Parallelizing computation for score tests with radEmu
Introduction | Setting up our radEmu model and running a single score test | Running robust score tests in parallel

Last update: 2026-11-11
Started: 2024-04-18

Quick start with radEmu
Setup | Differential abundance analysis with radEmu

Last update: 2026-11-11
Started: 2026-03-04

Using radEmu on clustered data
Introduction | Generating data with cluster dependence

Last update: 2026-11-11
Started: 2024-04-18

Using radEmu with a reference taxon
Introduction | Loading and preparing data | Fitting a model | Hypothesis testing

Last update: 2026-11-11
Started: 2025-02-06

Readme and manuals

Help Manual

Help pageTopics
Create list of control options (to pass to 'emuFit()')control_fn
Calculate the derivative to the pseudo-Huber smoothed mediandpseudohuber_median_dx dpsuedohuber_median_dx
Fit radEmu modelemuFit
Runs checks for appropriate arguments before running 'emuFit()'emuFit_check
Fit radEmu model. Called by emuFitemuFit_micro
Fit radEmu model with Firth penaltyemuFit_micro_penalized
fits model with B_kj constrained to equal g(B_k) for constraint fn gfit_null
fits model with B_kj constrained to equal g(B_k) for constraint fn g, for a symmetric constraint with a discrete designfit_null_discrete
fits model with B_kj constrained to equal g(B_k) for constraint fn g, for a single category constraintfit_null_scc
fits model with B_kj constrained to equal g(B_k) for constraint fn g, for a symmetric constraintfit_null_symmetric
fits model with B_kj constrained to equal g(B_k) for constraint fn g, for a symmetric constraintfit_null_symmetric_subset
Generates the design matrix for a given 'formula' and 'data' objectmake_design_matrix
makes plots to investigate convergence of estimation under null hypothesismake_diagnostics_plots
Make lists of constraint functions and their gradients when using a reference taxonmake_reference_constraints
Plotting functionplot.emuFit
A fitted GLM model for the power of radEmu to reject a truly false null hypothesispower_model
Print functionprint.emuFit
Calculate the pseudo-Huber smoothed medianpseudohuber_median psuedohuber_median
Run robust score testscore_test
Data simulation functionsimulate_data
mOTU table from Wirbel et al. meta-analysis of fecal metagenomes.wirbel_otu
subset of mOTU table from Wirbel et al. meta-analysis of fecal metagenomes.wirbel_otu_small
Covariates from Wirbel et al. meta-analysis of fecal metagenomes.wirbel_sample
Covariates from Wirbel et al. meta-analysis of fecal metagenomes, for a subset of samples.wirbel_sample_small
Taxonomy information for mOTUs from Wirbel et al. meta analysis.wirbel_taxonomy