Crandore Hub

power.nb

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) <doi:10.1371/journal.pone.0318820>. 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.

README

<!-- README.md is generated from README.Rmd. Please edit that file -->

# 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

Versions across snapshots

VersionRepositoryFileSize
0.1.0 rolling linux/jammy R-4.5 power.nb_0.1.0.tar.gz 6.9 MiB
0.1.0 rolling linux/noble R-4.5 power.nb_0.1.0.tar.gz 6.9 MiB
0.1.0 rolling source/ R- power.nb_0.1.0.tar.gz 6.9 MiB
0.1.0 latest linux/jammy R-4.5 power.nb_0.1.0.tar.gz 6.9 MiB
0.1.0 latest linux/noble R-4.5 power.nb_0.1.0.tar.gz 6.9 MiB
0.1.0 latest source/ R- power.nb_0.1.0.tar.gz 6.9 MiB
0.1.0 2026-04-23 source/ R- power.nb_0.1.0.tar.gz 0 B

Dependencies (latest)

Imports

Suggests