This is the GitHub page for the dacomp
package. The dacomp
package implements non parametric tests for differential abundance in microbiome counts data.
For lastest development version run:
install.packages("devtools")
devtools::install_github("barakbri/dacomp", build_opts = c("--no-resave-data", "--no-manual"))
The package vignette breifly goes over the model, assumptions and background. There are also code snippets showing how to analyze data for several study designs: 2- sample groups,
vignette('dacomp_main_vignette')
The full paper is found on arXiv: Brill, Barak, Amnon Amir, and Ruth Heller. 2019. “Testing for Differential Abundance in Compositional Counts Data, with Application to Microbiome Studies.” arXiv Preprint arXiv:1904.08937.
The introduction in the package vignette cites other highly relevant works.
A github repository for reproducing paper results paper is found here
Version 1.1 of the package adds an addtional variant of the DACOMP method called "normalization by ratio". This variant of the test procedure is disabled by default. See the above paper for additional details on this variant of the DACOMP
method.
Version 1.2 of the package adds multiplicity adjusted P-values for the DS-FDR procedure. Adjusted P-values are returned from the dacomp.test(...)
function, under the field p.values.test.adjusted
. Users using the normalization by rarefaction option, (which is not the default), will find the DS-FDR adjusted P-values under the field p.values.test.adjusted.ratio.normalization
.