Package: power.nb 0.1.0

Michael Agronah
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.
Authors:
power.nb_0.1.0.tar.gz
power.nb_0.1.0.zip(r-4.7)power.nb_0.1.0.zip(r-4.6)power.nb_0.1.0.zip(r-4.5)
power.nb_0.1.0.tgz(r-4.6-any)power.nb_0.1.0.tgz(r-4.5-any)
power.nb_0.1.0.tar.gz(r-4.7-any)power.nb_0.1.0.tar.gz(r-4.6-any)
power.nb_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
power.nb/json (API)
NEWS
| # Install 'power.nb' in R: |
| install.packages('power.nb', repos = c('https://magronah.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/magronah/power.nb/issues
Pkgdown/docs site:https://michaelagronah.com
Last updated from:26d33e2969. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 311 | ||
| source / vignettes | OK | 447 | ||
| linux-release-x86_64 | OK | 287 | ||
| macos-release-arm64 | OK | 220 | ||
| macos-oldrel-arm64 | OK | 274 | ||
| windows-devel | OK | 252 | ||
| windows-release | OK | 209 | ||
| windows-oldrel | OK | 238 | ||
| wasm-release | OK | 186 |
Exports:contour_plot_funcountdata_sim_fundeseq_fun_estdeseqfundispersion_fitdispersion_fundnormmixdnormmix0filter_low_countgam_fitgen_parnamesgenmixparslogfoldchange_fitlogfoldchange_sim_funlogmean_fitlogmean_sim_funmyrnormmixoptimal.comppolyfunpower_fun_ssread_datarnormmix0sample_size_ss_interpss_solveruniroot_ss
Dependencies:abindaskpassbackportsbase64encbeeswarmBHBiobaseBiocGenericsBiocParallelbslibcachemCairocheckmateclassclassIntclicodetoolscpp11crosstalkcurldata.tableDBIDelayedArrayDEoptimDESeq2digestdoParalleldplyre1071evaluatefarverfastmapfitdistrplusfontawesomeforeachformatRFormulaformula.toolsfsfutile.loggerfutile.optionsgenericsGenomicRangesggbeeswarmggplot2ggrastrgluegtablehighrhtmltoolshtmlwidgetshttrIRangesisobanditeratorsjquerylibjsonlitekernlabKernSmoothknitrlabelinglambda.rlaterlatex2explatticelazyevallifecyclelocfitlubridatemagrittrMASSMatrixMatrixGenericsmatrixStatsmemoisemetRmgcvmimeminpack.lmmixtoolsnlmeopenssloperator.toolsotelpillarpkgconfigplotlyplyrpngpromisesproxypurrrR6raggrappdirsRColorBrewerRcppRcppArmadillorlangrmarkdowns2S4ArraysS4VectorsS7sassscalesscamsegmentedSeqinfosfsnowSparseArraystringistringrSummarizedExperimentsurvivalsyssystemfontstextshapingtibbletidyrtidyselecttimechangetinytexunitsutf8vctrsviporviridisLitewithrwkxfunXVectoryaml