Skip to main content
PLOS One logoLink to PLOS One
. 2025 May 19;20(5):e0321452. doi: 10.1371/journal.pone.0321452

Benchmarking Differential Abundance Tests for 16S microbiome sequencing data using simulated data based on experimental templates

Eva Kohnert 1, Clemens Kreutz 1,*
Editor: Stephen D Ginsberg2
PMCID: PMC12088514  PMID: 40388544

Abstract

Differential abundance (DA) analysis of metagenomic microbiome data is essential for understanding microbial community dynamics across various environments and hosts. Identifying microorganisms that differ significantly in abundance between conditions (e.g., health vs. disease) is crucial for insights into environmental adaptations, disease development, and host health. However, the statistical interpretation of microbiome data is challenged by inherent sparsity and compositional nature, necessitating tailored DA methods. This benchmarking study aims to simulate synthetic 16S microbiome data using metaSPARSim (Patuzzi I, Baruzzo G, Losasso C, Ricci A, Di Camillo B. MetaSPARSim: a 16S rRNA gene sequencing count data simulator. BMC Bioinformatics. 2019;20:416. https://doi.org/10.1186/s12859-019-2882-6 PMID: 31757204) MIDASim (He M, Zhao N, Satten GA. MIDASim: a fast and simple simulator for realistic microbiome data. Available from: https://doi.org/10.1101/2023.03.23.533996), and sparseDOSSA2 (Ma S, Ren B, Mallick H, Moon YS, Schwager E, Maharjan S, et al. A statistical model for describing and simulating microbial community profiles. PLOS Comput Biol. 2021;17(9):e1008913. https://doi.org/10.1371/journal.pcbi.1008913 PMID: 34516542) , leveraging 38 real-world experimental templates (S3 Table) previously utilized in a benchmark study comparing DA tools. These datasets, drawn from diverse environments such as human gut, soil, and marine habitats, serve as the foundation for our simulation efforts. We employ the same 14 DA tests that were previously used with the same experimental data in benchmark studies alongside 8 DA tests that were developed subsequently. Initially, we will generate synthetic data closely mirroring the experimental datasets, incorporating a known truth to cover a broad range of real-world data characteristics. This approach allows us to assess the ability of DA methods to recover known true differential abundances. We will further simulate datasets by altering sparsity, effect size, and sample size, thus creating a comprehensive collection for applying the 22 DA tests. The outcomes, focusing on sensitivities and specificities, will provide insights into the performance of DA tests and their dependencies on sparsity, effect size, and sample size. Additionally, we will calculate data characteristics (S1 and S2 Table) for each simulated dataset and use a multiple regression to identify informative data characteristics influencing test performance. Our prior study, where we used simulated data without incorporating a known truth, demonstrated the feasibility of using synthetic data to validate experimental findings. This current study aims to enhance our understanding by systematically evaluating the impact of known truth incorporation on DA test performance, thereby providing further information for the selection and application of DA methods in microbiome research.

Introduction

Study rational

Microbial communities play a crucial role in various ecosystems, including human health, agriculture, and environmental processes. In medical research, investigating the microbiome has become pivotal due to its proven impact on the development of multiple diseases, and its potential as prognostic and predictive factor.

The major step in microbiome analysis is quantification of the abundance of microbial taxa such as bacterial species and identification of significant changes. A large set of statistical methods have been suggested for differential abundance (DA) analysis and it has been shown that the outcomes strongly depend on the chosen method. However, method selection guidelines are still missing and existing benchmark studies only show a fragmentary and inconsistent picture about the performance of these DA methods.

Background

This work builds on the seminal study by Nearing et al. [1], which systematically compared the performance of 14 differential abundance (DA) tests applied to 38 experimental 16S microbiome datasets. These datasets, sourced from diverse environments such as the human gut, soil, wastewater, freshwater, plastisphere, marine, and built environments, were used in a two-group design to identify variations in species abundances. While Nearing et al.‘s study [1] provided a comprehensive comparison of the outcomes and agreements of DA tests, it did not address the correctness of these tools due to the absence of a known ground truth in the data.

In our previous validation study, “Computational Study Protocol: Leveraging Synthetic Data to Validate a Benchmark Study for Differential Abundance Tests for 16S Microbiome Sequencing Data” [2], we explored the potential of using two simulation tools for microbial count data, metaSPARSim [3] and sparseDOSSA2 [4] to replicate real experimental data and validate findings obtained by experimental data. Our previous study referred to Nearing et al.‘s [1] benchmarking efforts and demonstrated that the two proposed simulation tools tend to underestimate the prevalence of zero counts, but showed good agreement with experimental data, successfully reproducing global tendencies of the statistical tests when sparsity is adjusted by adding an appropriate proportion of zeros. For brief illustration, we summarize our preliminary findings of that study in Fig 1. For each template, 10 simulated data sets were generated, and 46 distinct data characteristics [2] were calculated for each dataset. Fig 1A displays the PCA plot of the scaled data characteristics for metaSPARSim. Templates are represented as squares, with the 10 corresponding simulated datasets shown as dots of the same colour. At this summary level of all data characteristics, the synthetic datasets generated by metaSPARSim are generally very close to their respective templates (Fig 1A). Fig 1B shows a closer examination for four example data characteristics. The left sections of these boxplots show the difference of the data characteristics between an experimental template and other templates, serving as a measure of the variability if datasets from different projects are compared. The middle sections of the plots visualize deviations of the data characteristic if a template is compared with the 10 simulated datasets, serving as a measure of how precisely simulated data reflect characteristics of the respective template. The right section of the plot displays the variation within the simulated data sets generated for each template, serving as a measure for variability of the data characteristic introduced by simulation noise. The left panel of Fig 1B demonstrates that metaSPARSim tends to underestimate the proportion of zeros which can be corrected by adding zeros as shown on the right. In general, simulated data tend to overestimate the bimodality of sample correlations, a metric used to measure taxa-specific effect sizes. This bimodality characteristics exhibited the greatest discrepancy between real and simulated data. Other characteristics such as the 95% quantile or the Inverse Simpson diversity of the samples are very similar when comparing sparsity-adjusted simulated data with the respective template (middle sections in all boxplots).

Fig 1. Preliminary results assessing the similarity of simulated data and corresponding templates. A.

Fig 1

Overall similarity of simulated data and templates for metaSPARSim. PCA plot on 46 scaled data characteristics for 38 templates and 10 corresponding simulations. Templates are plotted as squares and simulations as dots in the same colour. B. Accuracy of four representative single data characteristics. Overall magnitudes of visible bias and heterogeneities are highlighted by blue arrows. The left sections in all panels show the natural variability of a specific data characteristic among the templates. Here, the log2-ratios of the data characteristics from one template to all other is summarized as boxplot. In the middle the precision of the data characteristic in the simulations compared to the corresponding template is displayed. The right sections show log2-ratios of the data characteristic between all simulations belonging to the same template.

Building on these findings, our current study aims to enhance this framework by incorporating a known ground truth. For this purpose, we will generate synthetic data that spans a broad range of effect sizes, sparsity levels, and sample sizes. This approach will enable a more detailed evaluation of the sensitivity and specificity of the 22 DA tests, providing deeper insights into their performance across various data characteristics.

Objectives, research questions and hypotheses

Primary objectives, research questions and hypotheses.

Aim 1: Assess the performance of 22 differential abundance tests on simulated data, corresponding to 38 experimental 16S microbiome sequencing data templates.

Research question: Which differential abundance testing methods among the selected 22 methods provide the most accurate results in terms of sensitivity and specificity for a prespecified 5% threshold for the false discovery rate?

Hypothesis: Certain differential abundance tests outperform others in terms of sensitivity and specificity.

Secondary objectives, research questions and hypotheses.

Aim 2: Assess how the performance of 22 differential abundance tests depend on sparsity of the dataset, effect size and sample size

Research question: How do changes in dataset sparsity, effect size, and sample size impact the sensitivity and specificity of differential abundance tests for a given 5% threshold for the false discovery rate?

Hypothesis: Performance advantages of differential abundance tests significantly depend on the sparsity of the data, effect size and sample size.

Exploratory objectives and research questions.

Aim 3: Identification of data characteristics that are predictive for performance advantages of specific differential abundance tests.

Research question: Which data characteristics are predictive for performance advantages and can be used to predict methods with beneficial performance?

Hypothesis: There are data characteristics which can be used to predict performance advantages.

Methods: datasets

Population

Aim 1 (Primary).

Based on 38 experimental 16S microbiome sequencing data templates, simulated datasets are generated. The experimental data templates originate from diverse environmental contexts such as the human gut, soil, wastewater, freshwater, plastisphere, marine and built environments. These templates were selected because they were previously used as benchmark datasets in Nearing et al. for complementary benchmarking analyses. Moreover, we used these datasets for simulating data to validate the results of Nearing et al. [1] and for studying the capabilities of simulated data, to reflect characteristics of their data templates realistically. These 38 experimental data templates exhibit a broad spectrum of data characteristics, including varying sample sizes ranging from 24 to 2296 and feature counts from 327 to 59,736. A detailed overview of dataset characteristics for these templates is provided in Supplement 2.

Three simulation tools, metaSPARSim [3], sparseDOSSA2 [4] and MIDASim [5], are employed to generate for each data template 10 simulated dataset, closely mimicking the original characteristics. This is achieved by calibrating the simulation parameters for each data template individually. If a tool underestimates the proportion of zeros, an appropriate proportion of zeros will be added as suggested in [2]. Then, the two simulation tools that best reflect experimental data templates are chosen for subsequent analyses. The quantitative number to judge at this point is the total number of rejected equivalence tests over all datasets and data characteristics [2].

A known ground truth in the simulated data with regulated as well as not regulated taxa is integrated as described in the following. The simulation parameters for both tools are calibrated three times: 1) To obtain parameters that correspond to no difference between the two groups of samples, calibration is done using experimental data for all samples jointly, i.e., independent on the group information. 2)+3) To obtain parameters, that are different in the two groups, calibration is done in each group separately, i.e., the simulation tools are calibrated to the samples belonging to the first group, and calibrated to the samples belonging to the second group.

To obtain both, differentially abundant taxa and taxa with the same expectation in both groups, these calibrated simulation parameters 1) and 2)+3) are merged by estimating the proportion of differentially abundant taxa from the distribution of p-values, and then randomly draw differential abundant taxa. In more detail, the following procedure will be applied:

  1. All DA methods are applied to the experimental data templates for calculating p-values

  2. To obtain one p-value for each taxon and treat all DA methods equally, a p-value of a randomly selected DA method is assigned

  3. The proportion pi0 of not differentially abundant features is estimated by the pi0est function in the qvalue R-package [6]. This function estimates the proportion of true null hypotheses, i.e., those following a uniform distribution [7].

  4. Simulation parameters are calibrated (a) for all samples and (b) for each group separately

  5. For the proportion pi0, simulation parameters are chosen from calibration 1), and for the proportion (1-pi0), simulation parameters are taken from calibration 2)+3). Differentially abundant features with simulation parameter from 2)+3) are drawn via isDiffAbundant=runif(n=length(pvalues)>p.adjust(pvalues,method="BH") to ensure that taxa with smaller p-values are more likely assigned to be differentially abundant.

Therefore, the population for aim1 is composed of 10(simulationsx38(templates)x2(simulators)=760 simulated 16S microbiome sequencing data, for which the number of truly differentially abundant features is known.

Aim 2 (Secondary).

Here, additional variations for each of the 2(simulatorsx38(templates)=76 simulations are generated by modifying sparsity, effect size, and sample size, such that each ranges from low over medium to high. Therefore, the population for aim 2 is composed of 76x3(sparsityx3(effectsize)x3(samplesize)=2.052 simulated 16S microbiome sequencing data settings, for which the number of truly differentially abundant features is known.

For a realistic range of sparsity, effect size and sample size in the simulated data, the minimum, median and maximum value for each of these properties are taken from the 38 experimental data templates and used as lower and upper bound in the simulated data. As an example, the minimal sample size is Nmin=24 (Human - IBD), the median is Nmed=76.5 and the maximal sample size is Nmax=2296 (Freshwater - Arctic). Thus, we simulate data for these three sample sizes.

The effect size is quantified using PERMANOVA R-square [8] as implemented in the adonis2 function of the vegan R-package [9]. First, the minimal and maximal R-squared values are calculated over all templates. In order to adjust the effect size to minimal, median and maximal values calculated from all templates, first the relationship between a fold-change multiplication factor F and PERMANOVA R-square [8] is evaluated. For this purpose, for each data template one simulated dataset is generated with F = 0, 0.1, 0.2, …, 1, followed by the calculation of the respective PERMANOVA R-square [8] value. The appropriate factor F for each template and each desired R-square value is chosen by linear interpolation of these 11 points. If this procedure yields multiple solutions because the relationship may not be monotone, the average of the resulting Fs is used.

For metaSPARSim [3], these fold-parameters are the ratios between the two estimated intensity parameters in both groups for each taxon. For sparseDOSSA2 [4], the fold-parameters are the ratios between the two parameters mu in both groups for each taxon.

Aim 3 (Exploratory).

For aim 3 the same datasets as for aim 2 are used

Sources

Nearing et al. [1] collected and harmonized a set of 38 public datasets. We use these datasets published at https://figshare.com/articles/dataset/16S_rRNA_Microbiome_Datasets/14531724 as input to simulate synthetic data for three published simulation tools: metaSPARSim [3], MIDASim [5] and sparseDOSSA2 [4].

Sample size considerations

We chose the same study population, i.e., the same number of experimental data templates as in previous benchmark studies (e.g., Nearing et al. [1]) to enable comparability.

For aim 1, a strict sample size calculation is not feasible since we consider multiple comparisons between the 22 DA methods and we do not know the magnitude of differences of the target variable (pAUC) and their variabilities over multiple simulate datasets.

Based on our experience about runtimes of the simulation and the 22 DA methods we chose N = 10 simulated datasets for each template (i.e., 380 simulated dataset in total for each simulation tool) for addressing our primary aim. For this sample size, a relative difference of at least 1.6 is required in a worst-case scenario with intra-class correlation coefficient ICC ≈ 1 to obtain >90% power when the analysis is performed with the mixed effects model as described below (two-sided analysis with α= 0.05). In the case of a vanishing ICC ≈ 0, a relative effect size 0.236 can be detected with a power of 90%.

For aim 2, we also have to keep runtimes manageable. Moreover, sample size calculations for forward selection and using rankings of the 22 DA methods as response variable would require many assumptions and are therefore not feasible. We therefore chose the study design and sample size based on qualitative and practical aspects. Since evaluating an additional data characteristic (in terms of samples size, effect size and sparsity) is more informative for uncovering general trends than replicating the same combination multiple times, we plan to only simulate one dataset per combination, but explore all 27 combinations for each data template. Statistical interpretation and conclusions are drawn at least on the repeated outcomes (i.e., rankings of the 22 DA methods) over the 38 data templates.

Aim 3 is investigated using the same data and sample size as aim 2 for comparability reasons. Since the analysis of aim 3 relies on forward selection, a reliable statement concerning the statistical power is not feasible from our point of view.

Eligibility criteria

We will include the same experimental datasets as in Nearing et al. [1].

Since we analyze the performance of DA methods using simulated data, we only want to include simulated data that is realistic, i.e., that has data characteristics similar to real experimental data used as templates. We therefore apply a similar exclusion strategy for data templates that cannot be realistically resembled by metaSPARSim [3], sparseDOSSA2 [4], or MIDASim [5] as suggested in [2]. Our overall strategy for including and excluding datasets is summarized in Fig 2.

Fig 2. Overview about the data generating mechanism including the dataset selection process.

Fig 2

Flowchart summarizing the data generating and selection mechanism throughout the entire workflow of the study.

Selection process and its results

Datasets used as templates to simulate data are the same as in Nearing et al. [1].

The exclusion strategy for simulated data is based on equivalence tests comparing simulated data with its experimental template and has been presented in [2]. Equivalence tests are conducted for 46 different data properties. Following this strategy, the simulated data for an experimental template is excluded when the number of non-equivalent data characteristics is an outlier when comparing all experimental templates. Fig 3 illustrates such outliers.

Fig 3. Illustration of detection of outlier data sets after simulation.

Fig 3

Each dot represents the number of non-equivalent data characteristics for a data template. If this number is an outlier in the boxplot the synthetic data from this template will be removed from the analysis. A If sparseDOSSA2 would result in such an outcome, the synthetic dataset for the template MALL would be removed. B If metaSPARSim would result in such a boxplot, based on the outlier criteria two data templates would be removed from the analysis (Ji_WTP_DS and t1d_alkanani).

Visualization of the dataset selection process and its results in the form of a flowchart.

Methods: Benchmark experiment plan

Benchmark/study design

General benchmark setup/design.

Our study is an exploratory benchmark study based on simulated data. The overall workflow is summarized in Fig 4. Since the taxa that were simulated as differential abundant are known, we can calculate the sensitivity and specificity for each significance level α. We use the partial area under the receiver operator characteristic curve (pAUC) and calculate ranks(pAUC) over all 22 DA methods to compare their performance.

Fig 4. Overview of the complete analysis workflow including the data simulation process. Fig 4 provides an overview about the analyses conducted within our study that are described in the following sections.

Fig 4

Studied methods and collected measures (incl. rationale).

The studied methods are the same 22 differential abundance (DA) tests that were used in Nearing et al. [1], but as implemented in the latest R version: ADAPT [10], ALDEx2 [11], ANCOM-BC2 [12], corncob [13], DESeq2 [14], distinctTest [15], edgeR [16], fastANCOM [17], glmmTMB [18], LEfSe [19], limma voom (TMM) [20], limma voom (TMMwsp) [20], linDA [21], MaAsLin2 [22], MaAsLin2 (rare) [22], MaAsLin3 [23], metagenomeSeq [24], t-test (rare), Wilcoxon test (CLR), Wilcoxon test (rare), ZicoSeq [25], and ZINQ [26]. Significant features will be determined using a 0.05 threshold for adjusted p-values (Benjamini-Hochberg correction).

The collected performance measures are sensitivity and specificity for each differential abundance test.

Employed validation procedure/technique.

N/A.

Preprocessing procedure

As in Nearing et al. [1] we analyze unfiltered data (all taxa) as well as filtered data using prevalence-filtered data with a 10% threshold (only taxa with at least 10% counts > 0).

Samples without meta information and samples that are not assigned to one of the two compared groups will be omitted. Moreover, taxa without count > 0 and samples with sum(counts) < 100 will be eliminated to remove “empty” samples and taxa. Since both criteria depend on each other, this check is applied repeatedly until no “empty” taxa or samples remains.

Since metaSPARSim [3] requires raw count data as well as normalized data, we use Geometric Mean of Pairwise Ratios (GMPR) normalization as suggested in the metaSPARSim documentation and as implemented in https://github.com/jchen1981/GMPR/blob/master/GMPR.R (version with commit ID 29bfb73) and as previously applied in [2] using the following options: gmpr.size.factors=GMPR(counts,ct.min=1,trace=TRUE,nsamples=Inf,nfeature=20000). If these size factors cannot be calculated for a subset of samples due to limited overlap of prevalent taxa, we replace these missing values by the median over the other samples.

Three DA methods apply a rarefying step. This is conducted using the rrarefy() function from the vegan package [9] directly before the DA method is called. As in Nearing et al. [1], only samples with more than 2000 counts are considered and the minimum of those samples is used as subsample size for rarefying.

Methods configurations

Parameters and/or configurations for each method.

We implemented the 22 DA methods and tested their applicability. The following code summarized the configurations that will be used in the study:

ADAPT (Analysis of Microbiome Differential Abundance by Pooling Tobit Models): Inline graphic

ANCOM-BC (Analysis of Compositions of Microbiomes with Bias Correction): Inline graphic

ALDEx (ANOVA-Like Differential Expression tool for high throughput sequencing data): Inline graphic

Corncob (Count Regression for Correlated Observations): Inline graphic

distinctTest (differential analyses via hierarchical permutation tests) REF: Inline graphic

EdgeR: Inline graphic

fastANCOM: Inline graphic

glmmTMB: Inline graphic

Limma voom TMM: Inline graphic

Limma voom TMM: Inline graphic

LEfSe (Linear discriminant analysis Effect Size): Inline graphic

linDA: Inline graphic

MaAsLin2 (Microbiome Multivariable Association with Linear Models): Inline graphic

MaAsLin2 rare: Inline graphic

MaAsLin3: Inline graphic

metagenomeSeq: Inline graphic

T test: Inline graphic

T test rare: Inline graphic

Wilcoxon rare: Inline graphic

Wilcoxon CLR: Inline graphic

ZicoSeq: Inline graphic

ZINQ: Inline graphic

To guarantee that FDR calculations coincide for all DA methods, we perform FDR adjustments manually for each DA method and each analyzed test via p.adjust(pvalues, method = ”BH”).

Altogether, we use the same configuration parameters (such as the threshold 100 for minimal library size of a sample) as chosen in Nearing et al. [1] to ensure comparability of the outcomes with the following main exceptions:

  • Instead of conducting rarefication as a first step, we will apply the rarefy step directly before the DA method is called to be able to calibrate the simulation tools before

  • Instead of using a custom script for ANCOM-II, we will use the ANCOM-BC2 R package that was published after the study by Nearing et al. [1].

  • For LEfSe, we use p-values instead of the score. By default, LEfSe outputs only p-values for taxa, that are not filtered out according to three cutoff configuration parameters (kw_cutoff, lda_cutoff, wilcoxon_cutoff) used for filtering. Unfortunately, relaxing those cutoffs to values where all p-values are returned can lead to failure of LEfSe in rare cases. In [2] we chose a strategy where those cutoffs are iteratively relaxed, i.e., we iteratively changed them towards default values if LEfSe fails with relaxed cutoffs.. To better reflect real-world usage in this study, we decided to stick to single value for those cutoffs, if failure of LEfSe occurs in <=10% of the analyzed datasets. In case failures occurs in > 10%, we will apply the iterative changes as in [2]. In any case, we will calculate FDRs from the (possibly filtered) p-values, independently on violation of mathematical assumptions since this would presumably also be done in real-world applications. A more detailed justification of this procedure can be found online in our responses to reviewer comments. Taxa that do not fulfill all cutoffs will have NA as p-value.

Description of hyperparameter tuning, if applicable.

N/A.

Methods: Analysis plan

Operationalization of hypothesis and evaluation metric.

We measure the performance of the DA methods by evaluating sensitivity and specificity. The relationship between sensitivity and specificity is evaluated by calculating the area under the receiver operator characteristic (ROC) curve. Since in practice differentially abundant taxa are only identified using a significance threshold <= 0.05, we only compute and compare the partial pAUC for 1-specificity = [0, 0.05] for each test and dataset.

Statistical techniques to evaluate hypothesis.

Aim 1 (Primary):

To estimate the average performance difference over all analyzed datasets, a mixed effects model is applied:

pAUC~DA_method+(1|usedTemplate)

Now, the best performing method is used as intercept in order to estimate test performance loss of the other methods using the following mixed effects model:

pAUC~DA_method+(1|usedTemplate)

As the above models assume normality of the residuals, this is tested by employing the Shapiro-Wilk test. In case of significance (p < 0.01), a Box-Cox transformation is applied to pAUC to resemble normality. Subsequently, p-values of the mixed effects model with transformed pAUC values will be calculated.

Additional descriptive analyses: A summary of performance results for each statistical test will be visualized using boxplots.

Aim 2 (Secondary):

For each simulation setting (in terms of sparsity, effect size and sample size), the 22 DA methods will be ranked according to their pAUC. The ranks are then analyzed using stepwise forward selection with as null model and as maximal model. Starting from the null model, this forward selection approach iteratively adds variables from the full model, evaluating their contribution to explaining pAUC until the optimal subset of predictors is determined.

Ranks~DA_method
Ranks~DA_method+SampleSize:DA_method+EffectSize:DA_method+Sparsity:DA_method

Note, that the chosen rank transformation leads to ranks 1, 2, …, 22 for each combination of used data template, sparsity, effect size, and group size. Therefore, neither the used data template is required as predictor, nor the main effects for GroupSize, EffectSize and Sparsity. In case a test fails, NA will be assigned to the respective DA method and the remaining ranks will be scaled to the range [21,27] to not bias the rankings of the other DA methods.

Additionally, descriptive analyses will be employed to explore the defined research aims. For example:

PCA Plot of data characteristics: Principal Component Analysis (PCA) plots will be generated to visualize the overall variation in dataset characteristics using the prcomp function from the standard stats R package. If missing values occur, they are imputed for PCA by medians. Each data point (representing a dataset) can be colored based on its corresponding AUC value, providing insights into how dataset features relate to test performance.

Connected Dotplot: A connected dotplot can be constructed where each dot represents the performance (e.g., pAUC) of a statistical test on a specific dataset. Dots from the same test are connected, allowing for the visualization of trends or consistency in performance across datasets.

N-way ANOVA: N-way ANOVA will be applied for the selected multiple regression model to investigate whether performance benefits of specific tests significantly depend on multiple factor levels of the three simulation parameters. This statistical analysis will help identify significant differences in performance and potential interactions between tests and dataset characteristics.

Inference criteria.

We conduct the statistical analysis with linear mixed-effects models using the lme4 and lmerTest R packages. Specifically, coefficients and standard errors will be estimated via restricted maximum likelihood (REML), p-values using ANOVA and forward selection based on the Akaike Information Criterion (AIC). All p-values below a significance level a = 0.05 will be considered as significant.

Contingencies and backup plans

Modification of differential abundance (DA) tests.

Inflated runtime

Datasets with a large number of features could lead to inflating runtimes for some statistical tests. We therefore define and apply a runtime threshold. This threshold will be set as the largest possible number, so that the predicted runtime of all DA tests does not exceed 3 months on a compute server with AMD EPYC 9454 48-Core Processor. Since we have to apply all DA methods to the experimental template once to estimate the number of not differentially abundant taxa (pi0), we use the observed runtimes for defining the runtime threshold.

If the runtime threshold for an individual test is exceeded for a specific dataset, we split the dataset into two subsets, each containing half of the taxa and try to complete the calculation within the maximal allowed runtime. To preserve the data structure as much as possible and avoid introducing additional randomness, we divide the data into even and odd rows. Specifically, the first subset contains taxa from rows 1, 3, 5,..., Ntaxa−1, while the second subset includes taxa from rows 2, 4, 6,..., Ntaxa. The DA method is applied separately to each subset, and the resulting p-values from both splits are subsequently merged.

If the runtime threshold is still exceeded for either subset, this split-and-merge procedure is repeated once more for each subset, effectively dividing the original dataset into a maximum of four subsets. For technical reasons, the runtime threshold is evaluated individually for each split and not to the total runtime summed across all subsets.

Here, we define the runtime threshold to be max. 1 hour per test. Then, in a worst-case scenario, the 22 tests for the 10 + 27 datasets for each of the 38 template (19684 combinations) and each simulation tool would need 820 days on a single core. Since we can conduct the tests on up to 96 cores, such a worst-case scenario would still be manageable.

Test failure

If a DA test throws an error, we apply the following procedure:

We first investigate whether failure of specific tests is related to performance, e.g., because it might happen that failures are more frequent for datasets which are more difficult to analyze, for example due to increased sparsity. Then, treating pAUC as NA would lead to bias. In order to investigate and prevent this, we apply logistic regression using the following model: failure ~ DA_method + DA_method:pAUC. Since pAUC is missing if a DA method failed, we have to impute those pAUCs. For this purpose, we use the median pAUC if the pAUC is available for respective DA_methods for datasets with the same simulation parameters. Otherwise, a mixed effects model pAUC ~ DA_method + (1 | dataTemplate) for all available pAUCs with the DA_method as fixed effect and the data template as a random effect is used for imputation.

If there are DA methods without significant interactions DA_method:pAUC, we omit the respective outcome and treat and reported them as NA (not available) as it would occur in practice without manual tuning the DA method. For significant interactions, we conduct a second analysis where NAs of those methods are replaced by the worst pAUC. This means that we treat failure of a DA like having the worst performance of all methods und we report this as outcome of or study. In addition, we compare these results with using NAs and report the respective results additionally.

Alternative analysis strategies and sensitivity analyses

For informative failures of DA methods, we evaluated the sensitivity of the outcomes on how those NAs are treated, as described in checklist item 20.

The dependency of the performance of the DA methods on dataset characteristics is investigated as exploratory analyses of Aim 3 (see checklist item 22).

Exploratory analyses

For our exploratory Aim 3, we calculate 46 data characteristics for each dataset, as detailed in Supplement 1. These characteristics will be scaled (mean = 0, SD = 1) to ensure comparability. The multivariate regression approach applied for Aim 2 will then be employed to explore potential predictive relationships between these data characteristics and the performance of each statistical test.

To identify the most influential data characteristics, a forward selection algorithm will be utilized to identify a minimal set of characteristics that are predictive for the performances We will also explore the possibility to find decisions rules. Such rules would look like: “choose DA method A if specific data characteristics are met, and method B otherwise”. For this purpose, we determine decision trees using the minimal set of predictive characteristics predChar1, predChar2, predChar3, … as predictors and the best performing statistical method as categorical response. This will be conducted as done in [28] using the Recursive Partitioning trees as indicated by the following pseudo-code and results in a hierarchy of conditions “if predCharX> threshold” indicating the optimal test for given characteristics of a dataset.

tree_model<rpart(bestTest~predChar1+predChar2+predChar3+,data=df,method="class")#classspecifiesclassification

Methods: Software, hardware and reproducibility

Software

List of software, central packages and dependencies (with version numbers) and their purpose.

R packages for data simulation: metaSPARSim_1.1.2, qvalue_2.32.0, SparseDOSSA2_0.99.2, vegan_2.6-4

R packages for DA tests: ADAPT_0.99.1, ALDEx2_1.32.0, ANCOMBC_2.2.2, corncob_0.4.1, DESeq2_1.40.2, distinct_ 1.16.0, edgeR_3.42.4, fastANCOM_0.0.4, glmmTMB_1.1.9, GUniFrac_1.8, limma_3.56.2, Maaslin2_1.14.1, maaslin3_ 0.99.3, metagenomeSeq_1.42.0, microbiomeMarker_1.6.0, phyloseq_1.46.0, rpart_4.1.23, vegan_2.6-8, ZINQ_2.0

R package for calculating data characteristics: amap_0.8-19, BimodalIndex_1.1.9,

R package for analyzing the performance of DA methods: lme4_1.1-35.1, lmerTest_3.1-3, pROC_1.18.5

Details on the implementation of the studied methods.

For a brief summary of the 22 evaluated DA tests, we refer to Nearing et al. [1]. Moreover, implementation details are provided in checklist item 18.

Extent to which code has already been written at the time of pre-registration.

Code to simulate data with metaSPARSim and sparseDOSSA2, calculate data characteristics and apply statistical tests are re-used from a former benchmark study entitled “Leveraging Synthetic Data to Validate a Benchmark Study for Differential Abundance Tests for 16S Microbiome Sequencing Data” which was partly conducted (80%) at the time when this protocol has been written [2]. In that study, we simulated data by calibrating the simulation parameter to each group separately. Since than all taxa have different parameters, there was not meaningful information about whether taxa are regulated and, thus, calculation of sensitivity and specificity were not feasible. All DA methods were tested on at least one experimental dataset, e.g., to provide details about how to call them and how to choose configuration parameters.

Hardware

We are planning to conduct the analyses on a compute server running with Debian GNU/Linux 12 with a Linux 6.1.0-22-amd64 kernel, equipped with dual AMD EPYC 9454 48-Core Processors (totaling 96 CPUs) and 503 GiB of RAM.

Reproducibility

Description of the accessibility and availability of datasets, code, and material after the completion of the study.

Source code of the presented benchmark study and for reproducing the outcomes will be comprehensively published.

Other effort to ensure or improve reproducibility.

The code development will be performed using git as version control systems. Commits will be performed on a daily basis during the code development phase.

Prior knowledge, neutrality and dissemination

Prior knowledge

Known prior work based on the selected datasets, the analyzed measures in that work and its relation to the planned study.

The major findings from Nearing et al. [1] are:

Different differential abundance (DA) testing methods produce drastically different results when applied to the same microbiome datasets. The number and set of significant amplicon sequence variants (ASVs) identified varied widely across tools. The results also depend on data pre-processing, particularly whether rare taxa are filtered out before analysis. For many tools, the number of features identified correlates with dataset characteristics such as sample size, sequencing depth, and effect size of community differences. Some methods consistently identified more significant features than others, e.g., Limma voom, Wilcoxon (CLR), LEfSe, and edgeR tended to find the largest number of significant ASVs. Compositionally aware methods like ALDEx2 and ANCOM-II were generally found as more conservative, identifying fewer significant ASVs across datasets. ALDEx2 and ANCOM-II tended to identify significant features that were also found by other methods. Their findings highlight the importance of carefully considering methodological choices when conducting and interpreting microbiome differential abundance analyses and underscores the variability in results obtained from different DA testing methods.

Our ongoing benchmark study [2] indicates that metaSPARSim [3] and sparseDOSSA2 [4] can be used to generate datasets with similar data characteristics when all characteristics are considered on an aggregated level (e.g., by using PCA) (Figs 1A and 1B), whereas metaSPARSim [3] generates more similar results compared to sparseDOSSA2 [4]. Moreover, also individual data characteristics mostly coincide for metaSPARSim [3], except the following ones (preliminary results): sparsity, bimodality of the correlation of samples and effect size (Fig 1C). SparseDOSSA2 on the other hand tends to overestimate the library size (Fig 1D). We also see for both simulation tools that adding an appropriate proportion of zeros to the simulated data makes the synthetic data more realistic, i.e., reduces the number of non-equivalent characteristics. In our preliminary results, we also see that the ANCOM-II implementation in the R-package leads to different outcomes as the code used in Nearing et al. [1]. We also started to check, whether conclusions of Nearing et al. [1] can be validates with simulated data. Our preliminary results show that overall trends are reproducible, however only a few conclusions can be validated at a stringent level.

Prior knowledge about the datasets themselves.

N/A.

Neutrality statement

Neutrality statement regarding the investigated methods.

We confirm that all contributors to this study were not involved in the development of the evaluated DA methods, were not involved in developing the two simulation tools and not involved in the experimental studies where the data has been taken from. We also declare that there are no other competing interests that might lead to biased interpretations.

Steps taken to enhance and/or ensure the neutrality of the study (blinding).

N/A.

Dissemination

Plan for publishing the study and its results.

Public access of the generated data, analysis scripts, results and supplemental information is granted as indicated above. The results will be published in a peer-reviewed scientific journal, preferably in the same journal as this protocol.

Availability of results data after the study’s completion.

The 38 experimental datasets were downloaded from https://figshare.com/articles/dataset/16S_rRNA_Microbiome_Datasets/14531724 on February 9, 2024. There, Nearing et al. [1] made the datasets from their study available, therefore we incorporate the exact same datasets. We keep a local copy of this data in our Fredato research data management system https://nxc-fredato.imbi.uni-freiburg.de until 31.12.2030 and make it available if the original data is not available in the current version anymore and if this does not violate legal, data protection, or copyright regulations. Generated data, analysis scripts, results and supplemental information to this study will also be stored in the Fredato research data management. In case of unexpected technical limitations, we will make data, analysis scripts and supplemental information available via https://figshare.com.

Supporting information

S1 Table. Higher dimension data characteristics.

These are used to calculate the final 46 scalar value characteristics (S2 Table).

(PDF)

pone.0321452.s001.pdf (24.6KB, pdf)
S2 Table. Final integer values data characteristic.

(PDF)

pone.0321452.s002.pdf (31.6KB, pdf)
S3 Table. Summary information on 38 experimental data templates, which serve as templates for calibrating the simulation tool.

(PDF)

pone.0321452.s003.pdf (75KB, pdf)
S4 Text. Study Protocol Version 1.

(DOCX)

pone.0321452.s004.docx (1.2MB, docx)

Acknowledgments

We would like to thank Prof. Anne-Laure Boulesteix and Julian Lange for our valuable discussions on methodological aspects of benchmark studies and for developing the checklist for methodological studies used for this protocol.

This protocol follows the “Study protocol checklist for real-data methodological research” (v0.9) that has been suggested for documenting methodological research and for reducing bias in benchmark studies [27]. Accordingly, the abstract, introduction, summary of the research question and hypotheses, methods, analysis plans and other relevant sections are provided in the order and with the enumeration of items as proposed in that checklist.

We acknowledge support by the Open Access Publication Fund of the University of Freiburg.

Data Availability

All relevant data from this study will be made available upon study completion.

Funding Statement

The author(s) received no specific funding for this work.

References

  • 1.Nearing JT, Douglas GM, Hayes MG, MacDonald J, Desai DK, Allward N, et al. Microbiome differential abundance methods produce different results across 38 datasets. Nat Commun. 2022;13(1):342. doi: 10.1038/s41467-022-28034-z [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2.Kohnert E, Kreutz C. Computational study protocol: leveraging synthetic data to validate a benchmark study for Differential Abundance Tests for 16S microbiome sequencing data. F1000Research. 2025. Jan 2;13:1180. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Patuzzi I, Baruzzo G, Losasso C, Ricci A, Di Camillo B. MetaSPARSim: a 16S rRNA gene sequencing count data simulator. BMC Bioinformatics. 2019;20:416. doi: 10.1186/s12859-019-2882-6 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4.Ma S, Ren B, Mallick H, Moon YS, Schwager E, Maharjan S, et al. A statistical model for describing and simulating microbial community profiles. PLOS Comput Biol. 2021;17(9):e1008913. doi: 10.1371/journal.pcbi.1008913 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5.He M, Zhao N, Satten GA. MIDASim: a fast and simple simulator for realistic microbiome data. Available from: doi: 10.1101/2023.03.23.533996 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6.Storey JD BADARD. qvalue: Q-value estimation for false discovery rate control. [Internet]. 2023; [cited 2024 Aug 14]. Available from: https://bioconductor.org/packages/qvalue [Google Scholar]
  • 7.Storey JD, Tibshirani R, Green PP. Statistical significance for genomewide studies [Internet]. Available from: www.pnas.orgcgidoi10.1073pnas.1530509100 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.McArdle BH, Anderson MJ. Fitting multivariate models to community data: a comment on distance-based redundancy analysis. Ecology. 2001;82(1):290–7. [Google Scholar]
  • 9.Oksanen J, Blanchet FG, Friendly M, Kindt R, Legendre P, McGlinn D, et al. vegan: community ecology package (2.6-4). 2022. Available from: https://github.com/vegandevs/vegan [Google Scholar]
  • 10.Wang M, Fontaine S, Jiang H, Li G. ADAPT: analysis of microbiome differential abundance by Pooling Tobit Models. 2024. [DOI] [PMC free article] [PubMed]
  • 11.Fernandes AD, Macklaim JM, Linn TG, Reid G, Gloor GB. ANOVA-Like Differential Expression (ALDEx) analysis for mixed population RNA-Seq. PLoS One. 2013. Jul 2;8(7):e67019. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Khomich M, Måge I, Rud I. Analysing microbiome intervention design studies: Comparison of alternative multivariate statistical methods. 2021. doi: 10.21203/rs.3.rs-910076/v1 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.Martin BD, Witten D, Willis AD. corncob: count regression for correlated observations with the beta-binomial. 2021.
  • 14.Love MI, Huber W, Anders S. Moderated estimation of fold change and dispersion for RNA-seq data with DESeq2. Genome Biol. 2014;15(12):1–21. doi: 10.1186/s13059-014-0550-8 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.Tiberi S, Crowell HL, Samartsidis P, Weber LM, Robinson MD. distinct: A novel approach to differential distribution analyses. Ann Appl Stat. 2023. Jun 1;17(2). [Google Scholar]
  • 16.Robinson MD, McCarthy DJ, Smyth GK. edgeR: a Bioconductor package for differential expression analysis of digital gene expression data. Bioinformatics. 2010 Jan 1;26(1):139–40. [DOI] [PMC free article] [PubMed]
  • 17.Zhou C, Wang H, Zhao H, Wang T. fastANCOM: a fast method for analysis of compositions of microbiomes. Bioinformatics. 2022;38(7):2039–41. doi: 10.1093/bioinformatics/btac060 [DOI] [PubMed] [Google Scholar]
  • 18.Brooks ME, Kristensen K, Benthem KJvan, Magnusson A, Berg CW, Nielsen A, et al. glmmTMB balances speed and flexibility among packages for zero-inflated generalized linear mixed modeling. R J. 2017;9(2):378. [Google Scholar]
  • 19.Cao Y, Dong Q, Wang D, Zhang P, Liu Y, Niu C. microbiomeMarker: an R/Bioconductor package for microbiome marker identification and visualization. Bioinformatics. 2022. Aug 10;38(16):4027–9. [DOI] [PubMed] [Google Scholar]
  • 20.Ritchie ME, Phipson B, Wu D, Hu Y, Law CW, Shi W, et al. limma powers differential expression analyses for RNA-sequencing and microarray studies. Nucleic Acids Res. 2015. Apr 20;43(7):e47–e47. doi: 10.1093/nar/gkv007 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21.Zhou H, He K, Chen J, Zhang X. LinDA: linear models for differential abundance analysis of microbiome compositional data. Genome Biol. 2022. Dec 14;23(1):95. doi: 10.1186/s13059-022-02655-5 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 22.Mallick H, Rahnavard A, McIver LJ, Ma S, Zhang Y, Nguyen LH, et al. Multivariable association discovery in population-scale meta-omics studies. PLOS Comput Biol. 2021. Nov 16;17(11):e1009442. doi: 10.1371/journal.pcbi.1009442 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23.Nickols WA, Kuntz T, Shen J, Maharjan S, Mallick H, Franzosa EA, et al. MaAsLin 3: refining and extending generalized multivariable linear models for meta-omic association discovery. 2024.
  • 24.Paulson JN, Stine OC, Bravo HC, Pop M. Differential abundance analysis for microbial marker-gene surveys. Nat Methods. 2013. Dec 29;10(12):1200–2. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25.Yang L, Chen J. A comprehensive evaluation of microbial differential abundance analysis methods: current status and potential solutions. Microbiome. 2022;10(1):130. doi: 10.1186/s40168-022-01320-0 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26.Ling W, Zhao N, Plantinga AM, Launer LJ, Fodor AA, Meyer KA, et al. Powerful and robust non-parametric association testing for microbiome data via a zero-inflated quantile approach (ZINQ). Microbiome. 2021. Dec 2;9(1):181. doi: 10.1186/s40168-021-01129-3 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 27.Lange2023_protocol_checklist_for_methodological_research_v0.9_20230905.
  • 28.Kreutz C, Can NS, Bruening RS, Meyberg R, Mé Rai Z, Fernandez-Pozo N, et al. A blind and independent benchmark study for detecting differentially methylated regions in plants. [DOI] [PubMed]

Decision Letter 0

Stephen Ginsberg

3 Jan 2025

PONE-D-24-40619Benchmarking Differential Abundance Tests for 16S Microbiome Sequencing Data Using Simulated Data Based on Experimental TemplatesPLOS ONE

Dear Dr. Kohnert,

Thank you for submitting your manuscript to PLOS ONE. After careful consideration, we feel that it has merit but does not fully meet PLOS ONE’s publication criteria as it currently stands. Therefore, we invite you to submit a revised version of the manuscript that addresses the points raised during the review process.

Please submit your revised manuscript by Feb 17 2025 11:59PM. If you will need more time than this to complete your revisions, please reply to this message or contact the journal office at plosone@plos.org . When you're ready to submit your revision, log on to https://www.editorialmanager.com/pone/ and select the 'Submissions Needing Revision' folder to locate your manuscript file.

Please include the following items when submitting your revised manuscript:

  • A rebuttal letter that responds to each point raised by the academic editor and reviewer(s). You should upload this letter as a separate file labeled 'Response to Reviewers'.

  • A marked-up copy of your manuscript that highlights changes made to the original version. You should upload this as a separate file labeled 'Revised Manuscript with Track Changes'.

  • An unmarked version of your revised paper without tracked changes. You should upload this as a separate file labeled 'Manuscript'.

If you would like to make changes to your financial disclosure, please include your updated statement in your cover letter. Guidelines for resubmitting your figure files are available below the reviewer comments at the end of this letter.

If applicable, we recommend that you deposit your laboratory protocols in protocols.io to enhance the reproducibility of your results. Protocols.io assigns your protocol its own identifier (DOI) so that it can be cited independently in the future. For instructions see: https://journals.plos.org/plosone/s/submission-guidelines#loc-laboratory-protocols . Additionally, PLOS ONE offers an option for publishing peer-reviewed Lab Protocol articles, which describe protocols hosted on protocols.io. Read more information on sharing protocols at https://plos.org/protocols?utm_medium=editorial-email&utm_source=authorletters&utm_campaign=protocols .

We look forward to receiving your revised manuscript.

Kind regards,

Stephen D. Ginsberg, Ph.D.

Section Editor

PLOS ONE

Journal requirements:

When submitting your revision, we need you to address these additional requirements.

1.Please ensure that your manuscript meets PLOS ONE's style requirements, including those for file naming. The PLOS ONE style templates can be found at

https://journals.plos.org/plosone/s/file?id=wjVg/PLOSOne_formatting_sample_main_body.pdf and

https://journals.plos.org/plosone/s/file?id=ba62/PLOSOne_formatting_sample_title_authors_affiliations.pdf

2. In your cover letter, please confirm that the research you have described in your manuscript, including participant recruitment, data collection, modification, or processing, has not started and will not start until after your paper has been accepted to the journal (assuming data need to be collected or participants recruited specifically for your study). In order to proceed with your submission, you must provide confirmation.

3. Please note that PLOS ONE has specific guidelines on code sharing for submissions in which author-generated code underpins the findings in the manuscript. In these cases, we expect all author-generated code to be made available without restrictions upon publication of the work. Please review our guidelines at https://journals.plos.org/plosone/s/materials-and-software-sharing#loc-sharing-code and ensure that your code is shared in a way that follows best practice and facilitates reproducibility and reuse.

4. Please ensure that you refer to Figure 3 in your text as, if accepted, production will need this reference to link the reader to the figure.

5. We note you have included a table to which you do not refer in the text of your manuscript. Please ensure that you refer to Table 3 in your text; if accepted, production will need this reference to link the reader to the Table.

Additional Editor comments:

After careful consideration by 2 Reviewers and an Academic Editor, all of the critiques of the Reviewers must be addressed in detail in a revision to determine publication status. If you are prepared to undertake the work required, I would be pleased to reconsider my decision, but revision of the original submission without directly addressing the critiques of the Reviewers does not guarantee acceptance for publication in PLOS ONE. If the authors do not feel that the queries can be addressed, please consider submitting to another publication medium. A revised submission will be sent out for re-review. The authors are urged to have the manuscript given a hard copyedit for syntax and grammar.

==============================

Comments to the Author

1. Does the manuscript provide a valid rationale for the proposed study, with clearly identified and justified research questions?

The research question outlined is expected to address a valid academic problem or topic and contribute to the base of knowledge in the field.

Reviewer #1: Yes

Reviewer #2: Yes

**********

2. Is the protocol technically sound and planned in a manner that will lead to a meaningful outcome and allow testing the stated hypotheses?

The manuscript should describe the methods in sufficient detail to prevent undisclosed flexibility in the experimental procedure or analysis pipeline, including sufficient outcome-neutral conditions (e.g. necessary controls, absence of floor or ceiling effects) to test the proposed hypotheses and a statistical power analysis where applicable. As there may be aspects of the methodology and analysis which can only be refined once the work is undertaken, authors should outline potential assumptions and explicitly describe what aspects of the proposed analyses, if any, are exploratory.

Reviewer #1: Yes

Reviewer #2: Partly

**********

3. Is the methodology feasible and described in sufficient detail to allow the work to be replicable?

Reviewer #1: Yes

Reviewer #2: Yes

**********

4. Have the authors described where all data underlying the findings will be made available when the study is complete?

The PLOS Data policy  requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception, at the time of publication. The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: Yes

Reviewer #2: Yes

**********

5. Is the manuscript presented in an intelligible fashion and written in standard English?

PLOS ONE  does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here.

Reviewer #1: Yes

Reviewer #2: Yes

**********

6. Review Comments to the Author

Please use the space provided to explain your answers to the questions above and, if applicable, provide comments about issues authors must address before this protocol can be accepted for publication. You may also include additional comments for the author, including concerns about research or publication ethics.

You may also provide optional suggestions and comments to authors that they might find helpful in planning their study.

Reviewer #1: The author proposes a study to benchmark various differential abundance (DA) analysis methods for microbiome data. It has two parts : (1) simulation framework by incorporating a known truth into the synthetic dataset, (2) report the accuracy of various DA methods to recover the ground truth, assess the performance of DA methods and contributors with varying data characteristics like sparsity, effect size, sample size.

1. What is the rationale for simulating data using these two methods metaSPARsim and sparseDOSSA compared to other frameworks available like MIDASim, DM. It would be great if you could more about this methods in the paper.

2. Author plans to test the Aim 1 hypothesis by using the synthetic data with known ground truth. I am interested to know if it is possible to add in few confounders, no effect cases or known negative cases as well to evaluate FDR of these methods.

3. If the above is not feasible, please comment on how you plan to comment on FDR of these methods.

4. I am interested to see the results of Aim3. Potentially if we can setup some rule based selection criteria to recommend a DA method based on data characteristics.

Reviewer #2: This proposed protocol by Kohnert and Kreutz proposes to validate and benchmark differential abundance (DA) methods based on simulated data produced by sparseDOSSA2 and metaSPARSim using 38 datasets from Nearing et al. 2022. In a prior protocol report, the authors proposed a methodology for validating simulated datasets to ensure their resemblance to real-world data. This work looks to expand on Nearing et al.’s report and their previous protocol proposal by investigating the incongruence between different DA tools on simulated data with known ground truths on the same 16S rRNA gene sequencing datasets used in Nearing et al., 2022. They have three main aims in their study which in general are to 1) investigate the performance of DA methods using known ground truths in simulated data, 2) to identify whether effect size, sparsity, and sample size have impact on DA performance and 3) to identify dataset characteristics that may be associated with DA method performance. This timely protocol submission will interest the microbiome community and could help future users identify the appropriate DA method for their datasets.

Major comments:

The authors claim good agreement between the real and simulated datasets in lines 172-174, but the reference provided is merely a protocol without actual results. Including preliminary results and or some other reference here would be beneficial, as part of the study's conclusions relies on the resemblance between real-world and simulated data.

The explanation of methods to generate known ground truths for each simulated dataset is unclear and would benefit from more detail, possibly with a figure. Step (2) at line 226 poses a risk of bias, as selecting a random p-value from a family of related tools (like the two limma-voom methods) might skew results toward that family. The authors should heavily consider this aspect of their design. Additionally, comparing results from a NULL dataset with those from one with a known ground truth could be informative (i.e. if sparssDOSSA2 is used to make a null distribution from template X do we expect any tools to identify significant features).

The authors plan to use the same DA methods originally published in Nearing et al., 2022. Although many of these methods remain popular, there have been significant updates and new tools introduced since then. To enhance the report's relevance, the authors might consider including newer tools like LOCOM, MaAsLin3, or ANCOM-BCII.

Minor comments:

Lines 346-352: I would like if the authors could give more details on why they choose this normalization and why it is appropriate for use with metaSPARSim.

It is unclear why the authors choose to alter the code for LEfSe testing given most users of this tool would not go through the lengths required to generate p-values for all features. Given this it may be more appropriate to use default settings to reflect real world use (and forgive fdr correction as was done in Nearing et al., 2022).

Lines 567-570: It is unclear how the dataset splitting will occur and how we expect this to effect the resulting data. Please give more details about this.

Lines 658-667: Indicates results that are ongoing but cannot be assessed and must be taken at face value. It makes evaluating this section difficult. Some preliminary data to justify these results would be helpful.

**********

7. PLOS authors have the option to publish the peer review history of their article (what does this mean? ). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review?  For information about this choice, including consent withdrawal, please see our Privacy Policy .

Reviewer #1: No

Reviewer #2: No

While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, https://pacev2.apexcovantage.com/ . PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Registration is free. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email PLOS at figures@plos.org . Please note that Supporting Information files do not need this step.

==============================

PLoS One. 2025 May 19;20(5):e0321452. doi: 10.1371/journal.pone.0321452.r003

Author response to Decision Letter 1


17 Feb 2025

Responses to Reviewers:

Reviewer #1: The author proposes a study to benchmark various differential abundance (DA) analysis methods for microbiome data. It has two parts : (1) simulation framework by incorporating a known truth into the synthetic dataset, (2) report the accuracy of various DA methods to recover the ground truth, assess the performance of DA methods and contributors with varying data characteristics like sparsity, effect size, sample size.

Comment reviewer:

1. What is the rationale for simulating data using these two methods metaSPARsim and sparseDOSSA compared to other frameworks available like MIDASim, DM. It would be great if you could more about this methods in the paper.

Response from authors:

When planning the study and preparing the protocol, we screened the literature for availability and feasibility of appropriate simulation tools. The requirements were

1) possibility for calibrating simulation parameters using real datasets as template

2) generation of count data

3) convincing methodology

4) availability in R or possibility to integrate it in R (e.g. via interface or command line)

Altogether, we found and evaluated 11 simulation methods and identified metaSPARSim and spareseDOSSA2 as mostly suitable.

MIDASim was not included in our evaluation because it was published later.

Based on the reviewer’s suggestion, we now decided to also include MIDASim. However, due to limitations in terms of computational efforts, we will select the two of these tools that most realistically generate simulated data, i.e. with the least number of non-equivalent data characteristics.

For simulating count matrices according to the Dirchilet-Multinomial (DM) models, we could not find a package that enables calibration of the simulation parameters based on a given experimental count matrix.

Comment from reviewer:

2. Author plans to test the Aim 1 hypothesis by using the synthetic data with known ground truth. I am interested to know if it is possible to add in few confounders, no effect cases or known negative cases as well to evaluate FDR of these methods.

Response from author:

The reviewer hints to two important generalizations, namely more complex study designs comprising multiple covariates (such as confounders), and no effect or negative cases that could be seen as samples assigned to the wrong group.

1) Concerning multivariate analyses: We defined the scope of our benchmark study to two-group designs (=one covariate) as in Nearing et al. and our previous/ongoing benchmark study. Extending the scope of this study to multivariate settings would require knowledge about further covariates and would require further assumptions about the effect size distributions introduced by these covariates and about the proportion of samples and taxa affected by covariates/confounders. Moreover, the multi-colinearity of all covariates have to be chosen realistically. For these assumptions, there is no knowledge available, but the choice can have a noticeable impact on our benchmarking outcomes. So including such aspects would strongly increase the complexity of the study and might leave challenges that can be hardly solved.

A very general recommendation of rigorous planning of research studies is to focus on a primary hypothesis and not address too many questions jointly. In line with this general guideline, we concentrate all our efforts on two-group comparisons.

Another aspect is that, simulating data for multiple covariates is not supported by most (or even all) simulation tools. However, the tools intend to generate realistic data for each individual sample in a dataset, so they intend to consider the effects of all covariates together on each sample, but do not “decompose” (estimate) individual effects which would be necessary for controlling the underlying true effects. So, overall the distribution of the data is presumed to reflect also effects of hidden covariates.

2) Concerning known negative cases: Since we use real experimental dataset for calibrating the parameters of the simulation tools, the synthetic data that is simulated effectively contains the same proportion of negative cases (samples) as they occur in the experimental template. Taxa with zero effects between both groups of samples are also considered by simulating the calibrated proportion of non-differentially abundant taxa. This aspect is described in more detail in the new protocol version.

Comment from reviewer:

3. If the above is not feasible, please comment on how you plan to comment on FDR of these methods.

Response from author:

FDR is evaluated by looking at non-differentially abundant taxa.

As pointed out above, the new version of our protocol includes an improved explanation of how we simulate appropriate proportions of differentially and non-differentially abundant taxa.

Comment from reviewer:

4. I am interested to see the results of Aim3. Potentially if we can setup some rule based selection criteria to recommend a DA method based on data characteristics.

Response from author:

In line with the reviewer’s suggestion, we planned to derive decision trees. In the new protocol version, we provide a more detailed description and explanation.

Reviewer #2: This proposed protocol by Kohnert and Kreutz proposes to validate and benchmark differential abundance (DA) methods based on simulated data produced by sparseDOSSA2 and metaSPARSim using 38 datasets from Nearing et al. 2022. In a prior protocol report, the authors proposed a methodology for validating simulated datasets to ensure their resemblance to real-world data. This work looks to expand on Nearing et al.’s report and their previous protocol proposal by investigating the incongruence between different DA tools on simulated data with known ground truths on the same 16S rRNA gene sequencing datasets used in Nearing et al., 2022. They have three main aims in their study which in general are to 1) investigate the performance of DA methods using known ground truths in simulated data, 2) to identify whether effect size, sparsity, and sample size have impact on DA performance and 3) to identify dataset characteristics that may be associated with DA method performance. This timely protocol submission will interest the microbiome community and could help future users identify the appropriate DA method for their datasets.

Author:

We thank the reviewer for this positive and appreciative feedback.

Major comments:

Comment from reviewer:

The authors claim good agreement between the real and simulated datasets in lines 172-174, but the reference provided is merely a protocol without actual results. Including preliminary results and or some other reference here would be beneficial, as part of the study's conclusions relies on the resemblance between real-world and simulated data.

Response from author:

According to the reviewer’s suggestion, we included a figure with several plots summarizing our preliminary findings into our protocol.

Comment from reviewer:

The explanation of methods to generate known ground truths for each simulated dataset is unclear and would benefit from more detail, possibly with a figure.

Response from author:

In the new version of our protocol, we now provide a more detailed explanation.

Comment from reviewer:

Step (2) at line 226 poses a risk of bias, as selecting a random p-value from a family of related tools (like the two limma-voom methods) might skew results toward that family. The authors should heavily consider this aspect of their design.

Response from author:

We agree with the reviewer, that this constitutes a risk of bias. However, any other approach would lead to risk of bias. As an example, taking the same number of p-values for each family of tests, would penalize tests that are in such families or in larger families. Moreover, multiple tests are to different extend based on similar assumptions. Thus defining „families“ is hardly feasible.

Because of two reasons, we think that the risk of bias in the suggested approach is small: 1) The number of tests has been increases from 14 to 22. Within the 22 tests, we only consider a maxium of two tests that are strongly related (e.g. the two limma voom approaches). In case the anticipated bias exists, the impact should be small.

2) Importantly, the tests at this analysis stage only enter in the decision about how many taxa will be simulated as different and in the assignment of the taxa to be simulated as differential or non-differential. Data generation including the noise of the simulated count data is then independent of these choices.

We hope that the reviewer's concerns are resolved with this explanation and the improved description of the planned simulation procedure in the protocol.

Comment from reviewer:

Additionally, comparing results from a NULL dataset with those from one with a known ground truth could be informative (i.e. if sparssDOSSA2 is used to make a null distribution from template X do we expect any tools to identify significant features).

Response from author:

This concern might also partly originate from our insufficient explanation of the simulation procedure: Each simulated data set will have a proportion (1-pi0) of differentially abundant taxa, and a proportion pi0 of *not* differentially abundant taxa that are generated from the null distribution obtained by calibrating the simulation tool to all samples. This subset of taxa will be used to evaluate the FDR.

A dataset consisting of solely not differentially abundant taxa could in principle also be used to evaluate the desired FDR levels, but does not allow for assessing the TPR or evaluating the trade-off between sensitivity and specificity, for example in terms of the pAUC.

Comment from reviewer:

The authors plan to use the same DA methods originally published in Nearing et al., 2022. Although many of these methods remain popular, there have been significant updates and new tools introduced since then. To enhance the report's relevance, the authors might consider including newer tools like LOCOM, MaAsLin3, or ANCOM-BCII.

Response from author:

Yes, we agree with the reviewer and decided to extend the study to all DA methods that are currently available as a package in R. We found and now include also the following tools: ADAPT, ANCOM-BC2, distinctTest, fastANCOM, glmmTMB, linDA, , MaAsLin3, ZicoSeq, and ZINQ. Altogether, we now plan to evaluate 22 DA methods instead of 14.

We did not include LOCOM because it failed to be installed in its latest version. We also did not include MECAF since it is not yet available as an R package and we did not include combinations of two methods such as ZINB-WaVE + DESEQ2 that have to be combined “manually” by several lines of own code. We also did not include methods that were replaced by a more advanced method such as ANCOM-BC that was improved by an improved bias correction and zero-inflation modelling in ANCOM-BC2.

Minor comments:

Comment from reviewer:

Lines 346-352: I would like if the authors could give more details on why they choose this normalization and why it is appropriate for use with metaSPARSim.

Response from author:

We now provide a more detailed explanation:

In short, calibration of the simulation tools was conducted as suggested in their manuals. Accordingly, we use GMPR for the calibration of metaSPARSim, as it requires both raw and normalized data. GMPR is also the normalization approach employed in the metaSPARSim vignette.

For testing differential expression, each DA method was applied with the default normalization approach recommended for the respective tool.

Comment from reviewer:

It is unclear why the authors choose to alter the code for LEfSe testing given most users of this tool would not go through the lengths required to generate p-values for all features. Given this it may be more appropriate to use default settings to reflect real world use (and forgive fdr correction as was done in Nearing et al., 2022).

Response from author:

We proposed the described procedure to handle the fact that on the one hand, we need all p-values to calculate pAUC but LEfSe does not output p-values for taxa that do not satisfy the default cutoff values. On the other hand, we discovered that LEfSe can fail if those cutoffs deviate from the default. The strategy we proposed so far, was to relax those cutoffs and increase it iteratively until LEfSe succeeds. Nearing et al. also had to deal with this issue and chose the following strategy: "From these, only those features with scaled LDA analysis scores above the threshold score of 2.0 (default) were called as differentially abundant. This key step is what distinguished LEfSe from the Wilcoxon test approach based on relative abundances that we also ran. In addition, no multiple-test correction was performed on the raw LEfSe output as only the p-values of significant features above-threshold LDA scores are returned by this tool."

Another aspect that should be considered is, that FDR should not be computed after any kind of filtering that is related to significance of the DA methods.

Despite these arguments, we agree with the reviewer that we should apply LEfSe to reflect real world use as good as possible. We therefore decided to run LEfSe with relaxed cutoffs to obtain all p-values. However, if LEfSe fails for >10% of the data sets, but succeeds with default cutoffs, we use this outcome instead. In any case, we calculate FDR from to those (possibly filtered) p-values, independently on violation of mathematical assumptions since this would presumably also be done in real-world applications. We changed the protocol accordingly.

Comment from reviewer:

Lines 567-570: It is unclear how the dataset splitting will occur and how we expect this to effect the resulting data. Please give more details about this.

Response from author:

We apologize for this and have now provided a clearer and more detailed description in the revised version of our protocol.

Comment from reviewer:

Lines 658-667: Indicates results that are ongoing but cannot be assessed and must be taken at face value. It makes evaluating this section difficult. Some preliminary data to justify these results would be helpful.

Response from author:

In order to justify that metaSPARSim and sparseDOSSA can be used to generate data with similar data characteristics, we now provide boxplots of the most important individual data characteristics and PCA calculated from all data characteristics.

Attachment

Submitted filename: Response_to_Reviewers.docx

pone.0321452.s006.docx (27.1KB, docx)

Decision Letter 1

Stephen Ginsberg

7 Mar 2025

Benchmarking Differential Abundance Tests for 16S Microbiome Sequencing Data Using Simulated Data Based on Experimental Templates

PONE-D-24-40619R1

Dear Dr. Kohnert,

We’re pleased to inform you that your manuscript has been judged scientifically suitable for publication and will be formally accepted for publication once it meets all outstanding technical requirements.

Within one week, you’ll receive an e-mail detailing the required amendments. When these have been addressed, you’ll receive a formal acceptance letter and your manuscript will be scheduled for publication.

An invoice will be generated when your article is formally accepted. Please note, if your institution has a publishing partnership with PLOS and your article meets the relevant criteria, all or part of your publication costs will be covered. Please make sure your user information is up-to-date by logging into Editorial Manager at Editorial Manager®  and clicking the ‘Update My Information' link at the top of the page. If you have any questions relating to publication charges, please contact our Author Billing department directly at authorbilling@plos.org.

If your institution or institutions have a press office, please notify them about your upcoming paper to help maximize its impact. If they’ll be preparing press materials, please inform our press team as soon as possible -- no later than 48 hours after receiving the formal acceptance. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information, please contact onepress@plos.org.

Kind regards,

Stephen D. Ginsberg, Ph.D.

Section Editor

PLOS ONE

Comments to the Author

1. Does the manuscript provide a valid rationale for the proposed study, with clearly identified and justified research questions?

The research question outlined is expected to address a valid academic problem or topic and contribute to the base of knowledge in the field.

Reviewer #1: Yes

**********

2. Is the protocol technically sound and planned in a manner that will lead to a meaningful outcome and allow testing the stated hypotheses?

The manuscript should describe the methods in sufficient detail to prevent undisclosed flexibility in the experimental procedure or analysis pipeline, including sufficient outcome-neutral conditions (e.g. necessary controls, absence of floor or ceiling effects) to test the proposed hypotheses and a statistical power analysis where applicable. As there may be aspects of the methodology and analysis which can only be refined once the work is undertaken, authors should outline potential assumptions and explicitly describe what aspects of the proposed analyses, if any, are exploratory.

Reviewer #1: Yes

**********

3. Is the methodology feasible and described in sufficient detail to allow the work to be replicable?

Reviewer #1: Yes

**********

4. Have the authors described where all data underlying the findings will be made available when the study is complete?

The PLOS Data policy  requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception, at the time of publication. The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: Yes

**********

5. Is the manuscript presented in an intelligible fashion and written in standard English?

PLOS ONE  does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here.

Reviewer #1: Yes

**********

6. Review Comments to the Author

Please use the space provided to explain your answers to the questions above and, if applicable, provide comments about issues authors must address before this protocol can be accepted for publication. You may also include additional comments for the author, including concerns about research or publication ethics.

You may also provide optional suggestions and comments to authors that they might find helpful in planning their study.

(Please upload your review as an attachment if it exceeds 20,000 characters)

Reviewer #1: Thanks for addressing and answering questions from the previous round of reviews. I appreciate your efforts in preparing the manuscript and carrying out the work to help microbiome research identify the appropriate DA methods.

1. Thank you for including the newer MIDASim method and expanding the study to cover more DA methods in the revised manuscript.

2. Thanks for including the methods planned for AIM3. Hopefully, this will guide the microbiome researchers in selecting appropriate methods for analysis.

**********

7. PLOS authors have the option to publish the peer review history of their article (what does this mean? ). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review?  For information about this choice, including consent withdrawal, please see our Privacy Policy .

Reviewer #1: No

Acceptance letter

Stephen Ginsberg

PONE-D-24-40619R1

PLOS ONE

Dear Dr. Kohnert,

I'm pleased to inform you that your manuscript has been deemed suitable for publication in PLOS ONE. Congratulations! Your manuscript is now being handed over to our production team.

At this stage, our production department will prepare your paper for publication. This includes ensuring the following:

* All references, tables, and figures are properly cited

* All relevant supporting information is included in the manuscript submission,

* There are no issues that prevent the paper from being properly typeset

If revisions are needed, the production department will contact you directly to resolve them. If no revisions are needed, you will receive an email when the publication date has been set. At this time, we do not offer pre-publication proofs to authors during production of the accepted work. Please keep in mind that we are working through a large volume of accepted articles, so please give us a few weeks to review your paper and let you know the next and final steps.

Lastly, if your institution or institutions have a press office, please let them know about your upcoming paper now to help maximize its impact. If they'll be preparing press materials, please inform our press team within the next 48 hours. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information, please contact onepress@plos.org.

If we can help with anything else, please email us at customercare@plos.org.

Thank you for submitting your work to PLOS ONE and supporting open access.

Kind regards,

PLOS ONE Editorial Office Staff

on behalf of

Dr. Stephen D. Ginsberg

Section Editor

PLOS ONE

Associated Data

    This section collects any data citations, data availability statements, or supplementary materials included in this article.

    Supplementary Materials

    S1 Table. Higher dimension data characteristics.

    These are used to calculate the final 46 scalar value characteristics (S2 Table).

    (PDF)

    pone.0321452.s001.pdf (24.6KB, pdf)
    S2 Table. Final integer values data characteristic.

    (PDF)

    pone.0321452.s002.pdf (31.6KB, pdf)
    S3 Table. Summary information on 38 experimental data templates, which serve as templates for calibrating the simulation tool.

    (PDF)

    pone.0321452.s003.pdf (75KB, pdf)
    S4 Text. Study Protocol Version 1.

    (DOCX)

    pone.0321452.s004.docx (1.2MB, docx)
    Attachment

    Submitted filename: Response_to_Reviewers.docx

    pone.0321452.s006.docx (27.1KB, docx)

    Data Availability Statement

    All relevant data from this study will be made available upon study completion.


    Articles from PLOS One are provided here courtesy of PLOS

    RESOURCES