Power and Sample Size Calculation for Differential Abundance Microbiome Studies

Provides functions for estimating statistical power and required sample sizes in differential abundance microbiome studies using negative binomial models. The methods are based on Agronah and Bolker (2025) . The package includes tools for simulation-based power analysis and sample size estimation using generalized additive models (GAMs), and visualization utilities for exploring the relationship between power, effect size, abundance, and sample size.


power.nb R package

Introduction

power.nb is an R package with the following features

  • power.nb has two simulators for simulating microbiome data

  • A framework for statistical power and sample size calculation for differential abundance microbiome studies

Microbiome data simulation

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("power.nb")

0.1.0 by Michael Agronah, 5 months ago


https://michaelagronah.com/power.nb/


Report a bug at https://github.com/magronah/power.nb/issues


Browse source code at https://github.com/cran/power.nb


Authors: Michael Agronah [aut, cre] (ORCID: , Ben Bolker [aut]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports DESeq2, fitdistrplus, rlang, minpack.lm, foreach, tibble, purrr, mixtools, scam, ggplot2, ggrastr, metR, DEoptim, latex2exp, parallel, stats, doParallel

Suggests rmarkdown, knitr, kableExtra, tidyverse, patchwork, dplyr, rlist


See at CRAN