- 1Institute for Informatics Data Science and Biostatistics, Washington University in St. Louis, St. Louis, MO, United States
- 2Division of Computational Biology, Department of Quantitative Health Sciences, Mayo Clinic, Rochester, MN, United States
- 3Department of Pediatrics, Washington University, St. Louis, MO, United States
- 4Department of Obstetrics and Gynecology, University of Michigan School of Medicine, Ann Arbor, MI, United States
- 5Department of Population Health, Division of Biostatistics, New York University Grossman School of Medicine, New York, NY, United States
- 6Center for Applied Mathematics, Tianjin University, Tianjin, China
- 7Department of Radiation Oncology, Department of Health Policy and Management, School of Medicine, School of Public Health, University of California Los Angeles Jonsson Comprehensive Cancer Center, Los Angeles, CA, United States
- 8Department of Pathology and Immunology, Division of Laboratory and Genomic Medicine, and the Edison Family Center for Genome Sciences and Systems Biology, Washington University School of Medicine, St. Louis, MO, United States
- 9Department of Statistics and Data Science, Northwestern University, Evanston, IL, United States
The complex nature of microbiome data has made the differential abundance analysis challenging. Microbiome abundance counts are often skewed to the right and heteroscedastic (also known as overdispersion), potentially leading to incorrect inferences if not properly addressed. In this paper, we propose a simple yet effective framework to tackle the challenges by integrating Poisson (log-linear) regression with standard error estimation through the Bootstrap method and Sandwich robust estimation. Such standard error estimates are accurate and yield satisfactory inference even if the distributional assumption or the variance structure is incorrect. Our approach is validated through extensive simulation studies, demonstrating its effectiveness in addressing overdispersion and improving inference accuracy. Additionally, we apply our approach to two real datasets collected from the human gut and vagina, respectively, demonstrating the wide applicability of our methods. The results highlight the efficacy of our covariance estimators in addressing the challenges of microbiome data analysis. The corresponding software implementation is publicly available at https://github.com/yimshi/robustestimates.
1 Introduction
Human microbiome research has significantly advanced our understanding of microbial communities within the human body and their extensive impacts on human health. The high-throughput sequencing technologies have enhanced our ability to collect and analyze vast amounts of sequencing data.
One critical aspect of microbiome research is differential abundance analysis, which aims to identify microbial taxa whose abundance levels differ significantly between different groups or conditions. This analysis is crucial for understanding how microbial communities are associated with various health conditions, environmental factors, or other biological states (Paulson et al., 2013; Turnbaugh et al., 2007; Qin et al., 2010). By revealing these associations, researchers can gain insights into the complex relations between the microbiome and host, potentially leading to new therapeutic strategies.
In differential abundance analysis, modelling microbiome count data presents unique challenges, particularly due to complex nature in microbiome datasets such as right skewness, heteroscedasticity, and excess zeros. In this study we focused on finding a simple yet effective approach to address heteroscedasticity. To further illustrate heteroscedasticity in microbiome data, we use the genus Streptococcus in the adenomas microbiome data (introduced in the simulation section) as an example. Streptococcus is a clinically important genus commonly found in the human microbiome. It includes both commensal species that are part of the normal microbiota and pathogenic species associated with infections such as streptococcal pharyngitis and pneumonia. Due to its varying abundance across different individuals and conditions, Streptococcus is an ideal candidate for demonstrating the variability in microbiome data.
We fitted a Negative Binomial regression model using the microbiome abundance count of this genus against the covariates of interest. Presented in Figure 1, the plot of squared residuals versus fitted values clearly shows an increasing trend in variance as the count values rise. This trend is further validated by the loess smooth curve (in orange), which highlights the increasing variance. The clear evidence of heteroscedasticity in microbiome count data underscores the need to account for this issue in the analysis.
Figure 1. Scatter plot of squared residuals versus fitted values for genus Streptococcus in the adenomas microbiome data.
To specifically address heteroscedasticity, or overdispersion, researchers have moved beyond the simpler Poisson distribution and considered more complex parametric models such as the negative binomial distribution or the generalized Poisson distribution (Qiao et al., 2024). These sophisticated models provide more robust inferences, capturing the variability and intrinsic heteroscedasticity in microbiome data more effectively. An alternative approach is the quasi-likelihood, which allows for flexible modeling of the variance by the mean of the data with a function, accommodating the inherent variability and improving the accuracy of differential abundance analysis (Wedderburn, 1974; McCullagh and Nelder, 1989; Nelder and Pregibon, 1987; Chen et al., 2013; Shi et al., 2023).
Over the past a few years, many differential abundance analysis methods have been developed to address specific characteristics for microbiome data (e.g., DESeq2, ALDEx2, and edgeR). We refer the readers to the recent review by Yang and Chen (2022), in which existing differential abundance analysis methods are evaluated through comprehensive simulation studies. Although modeling the count data directly seems a natural approach, those count-based parametric models face the challenge of inadequate false positive control, probably due to the model underfit for complex microbiome data. Thus, recent developments such as ANCOM-BC2 and LinDA are all based on transformed proportion data, where the variability associated with the count sampling process has not been accounted for (Yang and Chen, 2022). As most of the microbial taxa are of low abundance and their sampling variability is large, ignoring the sampling variability could reduce the statistical power to detect the differential abundance for these less abundant taxa. Therefore, the count-based models still hold the potential to be more powerful once the false positive control problem is fixed.
The main aim of our study is to propose simple yet effective methods to analyze microbiome abundance count data. We present an alternative framework to address heteroscedasticity in microbiome data. We utilize a Poisson distribution to obtain parameter estimates in regression models for microbiome counts. Although the Poisson distribution may be mis-specified, the resulting parameter estimates remain consistent, provided that the mean structure (the log linear model) is correctly specified. However, the standard error estimate for this parameter estimated from the mis-specified model (e.g., in the presence of heteroscedasticity) would be biased. We will consider two robust approaches to estimate the standard errors of the parameter of interest. The first approach involves using the bootstrap method to estimate its standard error. The advantage of this method lies in the straightforward parameter estimation under the Poisson distribution assumption, while its standard error is derived via the bootstrap method using the same assumption. This process helps estimate variability and construct confidence intervals for parameter estimates without relying on strict parametric assumptions (Efron and Tibshirani, 1994). The second method is the sandwich robust estimator, which offers reliable standard errors and confidence intervals for parameter estimates in statistical models. This is particularly useful when certain assumptions are not fully met (Cameron et al., 2007). Although the sandwich robust estimator is used to model the covariance structure for correlated data (LIANG and ZEGER, 1986), e.g., generalized estimating equations, its application to tackle heteroscedastic data is less common (Zeileis, 2006).
Through comprehensive simulation studies, we find that both the bootstrap and sandwich methods perform well in modeling microbiome differential abundance. The bootstrap method offers a flexible, data-driven approach to estimate variability, while the sandwich estimator provides a straightforward adjustment for heteroscedasticity. Together, these methods provide a robust framework for analyzing complex microbiome data, accommodating inherent variability, and improving the precision of statistical inferences. Our findings suggest that employing these covariance estimation methods can significantly improve the performance of microbiome differential abundance analyses.
The rest of the paper is organized as follows. Section 2 outlines the methodology, detailing the integration of two covariance estimation methods with Poisson regression to address heteroscedasticity in microbiome count data. Section 3 presents the simulation study results, comparing the performance of our proposed methods against other commonly used models under various conditions and distributions. Section 4 applies the proposed methods to two real data collected from human gut and vagina, respectively, highlighting their practical utility and effectiveness. Finally, Section 5 discusses the findings, implications for microbiome research, and directions for future work.
2 Methodology
In this section we will first present the Poisson (log linear) regression model, assuming a correct mean structure. We will then demonstrate the robust variance estimation methods.
2.1 Poisson regression mean structure
The mean structure of our proposed models is derived from Poisson regression, which has a simple structure commonly used for count data. In the context of microbiome abundance count data, the model is fitted for each taxon individually. For the taxon of interest, we denote its read count in sample
As the mean structure of the Poisson regression is correct, we use the iterative reweighted least square (IRLS) method to yield the unbiased coefficient estimation. The initial values of IRLS are chosen from an intercept-only model, i.e., the initial value of the intercept is set to the log of the mean of the response variable, and the initial values for the coefficients of the predictors are set to zero. For Poisson regression, the weights matrix
This iterative process continues until convergence, i.e., until the change in the coefficients
However, since the variance structure may differ from that of the Poisson distribution, the Poisson-based model will yield biased covariance estimate of the regression coefficients. Next, we propose two simplified methods for covariance estimation under such a mis-specified model.
2.2 Bootstrap method for covariance estimation
To obtain robust estimates of the covariance matrix
Step 1: Resample the original dataset with replacement to create a bootstrap sample.
Step 2: Fit the Poisson regression model to the bootstrap sample.
Step 3: Repeat steps 1 and 2 multiple times (e.g., 1,000 iterations) to generate a distribution of the coefficient estimates.
Step 4: Calculate the covariance matrix
These steps can be easily accomplished using the ‘boot’ package in R (Canty and Ripley, 2024; Davison and Hinkley, 1997).
2.3 Sandwich robust estimator
The sandwich robust estimator, also known as the heteroscedasticity-consistent (HC) estimator, provides reliable standard errors and confidence intervals for parameter estimates, even when model assumptions such as homoscedasticity are violated. The sandwich estimator is particularly useful in the context of small sample sizes or when the data exhibits heteroscedasticity. Considering the situation of small sample size in microbiome data, the Heteroscedasticity-consistent (HC) 3 estimators is recommended (Cameron et al., 2007). The HC3 estimator is designed for limited sample size, making it particularly suitable for microbiome studies, as it adjusts for potential heteroscedasticity by scaling the residuals in a way that is robust to small sample sizes. The sandwich Poisson regression is performed by the following steps:
Step 1: Fit the Poisson regression model to the original dataset.
Step 2: Calculate the residuals
Step 3: Adjust the covariance matrix of the coefficient estimates using the HC3 formula, which incorporates the leverage values to correct for heteroscedasticity. The formula is given as:
where
These steps are implemented by using the ‘sandwich’ package in R program (Zeileis et al., 2020).
3 Simulation study
In this section, we present comprehensive simulation studies to compare our proposed models with other widely used alternative methods. The existing models selected for comparison include negative binomial regression, Poisson regression, Generalized Poisson (GP) regression, Quasi-Poisson (QP) regression. The negative binomial regression and Poisson regression are generalized linear models which assumes the data following specific parametric distributions; they serve as the baseline models for comparison.
The generalized Poisson (GP) regression and Quasi-Poisson (QP) regression are commonly used to address overdispersion. The generalized Poisson regression, also known as two-parameter generalized Poisson distribution, was proposed by Consul and Jain (1973) (Consul and Jain, 1973). The GP distribution’s probability mass function is defined as:
where
The Quasi-Poisson (QP) regression model is an extension of the Poisson regression model widely used to address overdispersion. The model assumes that the variance is a linear function of the mean,
3.1 Data generated from various distributions (under model misspecifications)
We design a simulation study to evaluate the performance of our models under model misspecifications with data generated from various distributions. Each simulation dataset has a sample size of 200 and includes a count variable
3.1.1 Distributions
3.1.1.1 Mis-specified Gamma distribution
The simulation datasets are generated following
3.1.1.2 Poisson distribution
The simulation datasets are generated following
3.1.1.3 Pareto distribution
The Pareto distribution is a power-law distribution originally designed to describe the distribution of wealth in a society, fitting the phenomena of “80–20” rule that 80% of wealth is held by a small fraction of the population (Gabaix, 2009). This distribution is analogous to the characteristics observed in microbiome count data.
Here we consider a Pareto (Type I) distribution, and the simulation datasets are generated following
3.1.1.4 Negative binomial distribution
The Negative Binomial distribution is used for the number of trials needed to achieve a specified number of successes in a sequence of independent and identically distributed Bernoulli trials. The density function of a Negative Binomial distribution with number of failures
3.1.1.5 Over-dispersed Poisson distribution
The simulation datasets are generated by a mis-specified negative binomial distribution with
We aimed to evaluate the models’ performance based on their ability to control type I error and their power in detecting true positives. We will evaluate their ability to estimate the variance of coefficients by assessing the closeness of the sampling mean of the standard error estimate (SEM) to the standard error of the estimate (SEE). Additionally, we consider metrics including bias, mean squared error (MSE), and coverage probability (CP):
• Bias measures the difference between the average of the parameter estimates and the true parameter value:
• SEE represents the empirical standard error of the parameter estimate, calculated as:
• SEM is the mean of the standard error estimates across all replicates:
• MSE is the average of the squared differences between the estimated parameters and the true parameter value, calculated as:
• CP is defined as the proportion of simulation runs in which the true parameter value lies within the estimated confidence interval. The formula is:
In simulation setting 1 we set
The results of simulation settings 1-3 are presented in Tables 1–15, respectively. We first observe that all methods have small biases in parameter estimates of
Table 9. Simulation setting 2 with small effect (
Table 14. Simulation setting 3 with large effect (
We note that the proposed models—the Bootstrap Poisson model and the Sandwich Poisson model have satisfactory performance across various forms of model misspecification. In Tables 1–15, the standard error estimates (SEM) for
In contrast, the Poisson and negative binomial regression models tend to either under- or over-estimate the standard deviation when these assumptions are violated, which adversely affects their Type I error control and 95% coverage probability. For example, the standard deviations are over-estimated for Gamma and Pareto distributions (Tables 1, 3), resulting in conservative Type I error controls (small values in Tables 1, 3) and lower power in Tables 6, 8. On the other hand, the Poisson regression model under-estimates the standard deviation for over-dispersed Poisson and negative binomial distributions (Tables 4, 5), resulting in inflated Type I errors (potential false positives).
The Quasi-Poisson (QP) model performs relatively well in simulation settings 1 and 2. In particular, when dealing with small effect sizes
The Generalized Poisson-2 regression model, with variance defined as
3.2 Data generated from the ZicoSeq algorithm
In order to assess the ability of the models to handle the complex nature of microbiome data, we perform another simulation using the ZicoSeq algorithm (Yang and Chen, 2022). ZicoSeq is a combination of permutation-based simulation dataset generation algorithm and differential analysis method. It takes real microbiome datasets to generate simulation data which mimic the unique characteristics of microbiome datasets, such as high dimensionality, sparsity, zero inflation, and overdispersion. Since Yang and Chen’s review (Yang and Chen, 2022) has already established ZicoSeq’s superiority over other existing methods, we focus on comparing our model with ZicoSeq rather than these methods. Given the similarity between the GP-0, GP-1, and GP-2 models, and considering the superior performance of GP-2 in handling under-dispersion, we exclude the GP-0 and GP-1 models in the following studies and include only the GP-2 model as a representative of the Generalized Poisson methods. Additionally, we include two more recently developed and widely used microbiome differential analysis methods: LinDA (Zhou et al., 2022) and ANCOM-BC2 (Lin and Peddada, 2024) (a 2024 update of ANCOM-BC). The simulation study will help us assess our model’s effectiveness in the context of current leading methods. LinDA (Linear Models for Differential Abundance Analysis) is a differential abundance analysis method for microbiome data, using traditional linear models with center log ratio (CLR) transformed abundance data and a bias correction procedure to account for the compositional structure of microbiome data and employs regularization techniques to improve the robustness and accuracy of differential abundance detection. ANCOM-BC2 (Analysis of Composition of Microbiomes with Bias Correction-2) is an extension of the ANCOM-BC method, designed to identify differentially abundant taxa while controlling for the compositional bias. ANCOM-BC2 incorporates bias correction techniques to improve the accuracy and reliability of the differential abundance analysis in microbiome studies. The following simulation study is conducted using the most recent versions of each method’s respective package at the time of analysis: ZicoSeq (“Gunifrac” 1.8), LinDA (“MicrobiomeStat” 1.2), and ANCOM-BC2 (“ANCOMBC” 2.6.0).
We use the adenomas dataset as the reference dataset for ZicoSeq simulation dataset generation. Adenomas study focuses on the gut microbiota composition in patients with and without adenomatous polyps, precursors to colorectal cancer. The study generated 16S rRNA gene sequences from fecal samples of 266 patients with adenomas and 534 controls collected from standard screening colonoscopy operating between 2001 and 2005 at multiple medical centers (Hale et al., 2017). Following Shi et al. (2023), for the preprocessing we exclude operational taxonomic units (OTUs) with prevalence less than 25%, classifying OTUs with prevalence from 100% to 62.5% as common, and those with prevalence from 62.5% to 25% as rare. In our simulation, the covariate
We further compare the performance of the proposed methods in the common and rare groups, to assess their performance under different abundance conditions. The results, shown in Figures 2, 3, indicate that the Negative Binomial regression, Poisson regression, Quasi-Poisson, GP-2 and ANCOM-BC2 models fail to control the false discovery rate around the nominal level. Among these, the ANCOM-BC2 model performs better with the common taxa compared to the rare taxa, suggesting that ANCOM-BC2 requires a higher abundance for effective model fitting. Specifically, we observe convergence issues for the GP-2 model, making it less suitable for applications in microbiome data analysis.
In the simulation setting with high signal density (Figure 2), our proposed bootstrap Poisson model and sandwich Poisson model successfully control the false discovery rate close to the 0.05 nominal level. Additionally, both methods achieve higher statistical power: 0.384 and 0.421 respectively, compared to the power of ZicoSeq (0.241), LinDA (0.278) and ANCOM-BC2 (0.212). Almost all the methods yield false discovery rate more than 10% in the rare taxa (with prevalence from 62.5% to 25%) group. Notably, a severe false discovery inflation (FDR = 0.574) is observed in the ANCOM-BC2 method, in contrast to its good performance of the common taxa group (FDR = 0.031).
We also observe similar patterns in the low signal density groups in Figure 3, indicating the stability of the methods across different signal densities. These results demonstrate that our proposed methods offer higher statistical power in detecting true differential taxa while effectively controlling the false discovery rate.
As shown in Figures 4, 5, in both the high and low signal density groups, our proposed Bootstrap Poisson and Sandwich Poisson methods achieve higher F1 scores and MCC than other methods, except for the Negative Binomial regression and Quasi-Poisson (QP) models. However, the NB model and QP model fail to control the false discovery while our proposed methods effectively control the false discovery rate around the nominal level and achieve comparable power. In microbiome studies, particularly in differential analysis, minimizing false positives is crucial due to the large datasets and complex biological signals involved. False positives can lead to incorrect conclusions about the associations between microbial taxa and health outcomes, potentially diverting resources toward investigating spurious findings. This not only misguides scientific understanding but also impacts clinical decision-making if such findings are applied in therapeutic or diagnostic contexts. Therefore, while metrics like the F1 score and MCC are valuable, it is equally important to emphasize the control of false positives to ensure the validity and reliability of the study’s conclusions. Given these considerations, our proposed Bootstrap Poisson and Sandwich Poisson models outperform the alternative models in our simulation study.
Figure 4. Bar plot of F1 score and MCC for ZicoSeq generated simulation with high signal density (30%).
4 Application
In this section, the proposed Bootstrap Poisson model and Sandwich Poisson model are applied to two real 16S rRNA amplicon sequencing microbiome datasets. The two datasets were collected from human gut and vagina, respectively, which can help us understand the performance of the proposed methods in high- and low-diversity microbial communities. Notably, when fitting the GP-2 model to the two real data in this section, we encounter similar convergence problems to those in the ZicoSeq simulation study. R software generates warnings indicating premature convergence of the regression model, potentially leading to inaccurate and unreliable estimates. Consequently, we exclude it from our real data application section.
4.1 Gut samples analysis
In the first study, we apply the proposed methods to the adenomas dataset introduced earlier. Out of the 2147 taxa at the species level collected from 800 fecal samples (266 patients with adenomas and 534 controls), we filter out those with a prevalence of less than 5%, resulting in 102 taxa for testing. The models are fitted to assess the differential abundance of these 102 taxa between the adenomas group and the control group without polyps. The models are adjusted for covariates including gender, batch, and smoking status. Additionally, the log-transformed total count is introduced into the model as an offset to scale the counts of each OTU, equivalent to Total Sum Scaling (TSS). Tests are conducted with the Benjamini–Hochberg (BH) FDR multiple method.
The results are presented in the Upset plot (Figure 6) and heat map (Figure 7). In the Upset plot, the red colored bar plot at the left bottom panel shows the number of statistically significant taxa detected by different methods. We observe a similar pattern to that in the simulation studies (Figures 2–5). Several taxa are identified as significant by different methods. In the Upset plot, the matrix at the bottom panel shows which sets are involved in each intersection. Each row corresponds to a set, and each column represents a specific intersection. Similar to the simulation study, the Poisson regression model identifies the highest number of significant taxa (79) among all methods, indicating its poor false discovery control under model misspecification and overdispersion. The intersection plot shows that 53 taxa are identified only by the Poisson model, again demonstrating its inconsistency with other models. The ANCOM-BC2 method identifies 24 significant taxa, and the Negative Binomial method identifies 11 significant taxa, all demonstrating poor false discovery control as reflected in Section 3.2 of the simulation studies. The Bootstrap Poisson method identifies 5 significant taxa, all of which are also detected by the Sandwich Poisson method. The Sandwich Poisson method identifies 1 additional significant taxon compared to the Bootstrap method. The LinDA method identifies only 1 significant taxon, while the ZicoSeq and Quasi-Poisson methods fail to identify any significant taxa. In contrast, our proposed methods, Bootstrap Poisson and Sandwich Poisson, demonstrate higher power in detecting differential abundance while maintaining effective false discovery control.
Figure 6. Upset plot for adenomas dataset. The red-colored bar plot at the bottom left shows the number of taxa detected as significant by different methods. The top right blue bar plot displays the size of each intersection, indicating the number of significant taxa shared by the methods corresponding to each intersection. The matrix at the bottom displays the intersections, with each row representing different methods and each column representing a specific intersection. The green dots in the matrix indicate the significant taxa detected by each method. Lines connecting the dots in a column show methods sharing the identified significant taxa.
Figure 7. Heatmap for adenomas dataset. Each cell represents the adjusted p-value for a specific taxon-method combination, with the color gradient reflecting the magnitude of the p-value. Darker shades of green correspond to lower p-values, suggesting stronger evidence of differential abundance. The taxa identified by methods other than Poisson or ANCOM-BC2 models are listed on the y-axis, while the methods are presented on the x-axis. The black boxes highlight the tests that yielded statistically significant results (adjusted p-value <0.05).
Notably, the genus Lactobacillus is identified as significantly associated with adenomatous polyps, precursors to colorectal cancer, by our proposed Bootstrap Poisson and Sandwich Poisson models. Lactobacillus is well-known for its probiotic properties, and its presence in the gut has been associated with various health benefits, including the inhibition of colorectal cancer (CRC) progression (Chattopadhyay et al., 2021). Specifically, Lactobacillus can inhibit the growth of CRC by reducing inflammation, enhancing intestinal barrier function, and producing short-chain fatty acids like butyrate, which have anti-inflammatory and anti-carcinogenic properties (Profir et al., 2024). This biological support underlines the significance of the Lactobacillus detection in our study, providing a strong rationale for its association with colorectal adenomas and further highlighting the robustness of our proposed methods in identifying biologically meaningful taxa.
In contrast, other methods with lower power fail to detect Lactobacillus. For example, as shown in Tables 13, 15, the Quasi-Poisson model tends to over-estimate standard errors in over-dispersed distributions (e.g., for Lactobacillus), leading to wider confidence intervals and reduced statistical power, which limits its ability to detect significant taxa.
In response to a reviewer’s suggestion, we investigate the biological relevance of the taxa identified as significant by the Poisson model only. Through an extensive literature review, we focus on Catenibacterium, Sutterella, and Coprobacillus—among the top 10 taxa with the lowest p-values in the Poisson model, but not flagged by models with better false positive control. Despite their statistical significance, our comprehensive search through PubMed and related scientific databases uncovers no substantial evidence linking these genera to colorectal cancer (CRC). This finding suggests that their detection by the Poisson model may reflect issues with false positive control rather than genuine biological associations.
4.2 Vaginal samples analysis
In the second study, we aim to identify associations between vaginal microbiome characteristics during pregnancy and preterm birth (delivery before 37 weeks of gestation). In this study, pregnant patients were enrolled at a single tertiary care institution. Serial mid-vaginal swabs were collected throughout pregnancy during prenatal visits. A nested case-control study was designed to compare samples from patients who delivered at term to those who delivered preterm (Stout et al., 2017). The study included 77 patients, 31% of whom delivered preterm. 149 vaginal swabs were collected: 27 samples during the first trimester, 61 samples from the second trimester, and 61 samples from the third trimester. DNA was extracted using the MO BIO PowerSoil DNA Isolation Kit. Amplicons from the V3V5 regions of the 16S rRNA gene were sequenced using the Roche 454 platform and used in the current analysis.
Given the significant changes in the microbiome community environment during pregnancy (DiGiulio et al., 2015; Berry et al., 2021), we focus on the samples collected from the second trimester by using the first available measurement per individual within this period. This approach ensures consistency in the timing of sample collection, provides a clear baseline measurement of microbiome dynamics during fetal development. We then filter out the OTUs with a prevalence of less than 10% to alleviate zero-inflation, resulting in 31 OTUs and 53 samples in our analysis. We test if the 31 OTU abundance counts are associated with the risk of subsequent preterm birth using the eight models described earlier. The models are adjusted for covariates including race and gestational age, and p-values are adjusted using the Benjamini–Hochberg (BH) method for multiple comparisons.
In this real data analysis (Figures 8, 9), Poisson regression identifies the largest number of significant taxa (24), followed by negative binomial regression (6), and then ANCOM-BC2 (4). This reflects the results from the simulation study, where Poisson regression, negative binomial regression, and ANCOM-BC2 fail to control the FDR, leading to an increased number of false positives. The Poisson Bootstrap method identifies 1 significant taxon, which is also significant according to the NB, Poisson, Sandwich and ANCOM-BC2 methods. The Sandwich method additionally identifies 1 significant taxon, also detected by NB, Poisson, ANCOM-BC2. Similar to the performance in the simulation studies, LinDA and ZicoSeq methods fail to find any significant taxa. The QP model again fails to detect any significant taxa, mirroring the results observed in simulation setting (Table 15), where it over-estimates the coefficient’s standard error for over-dispersed distributions and reduces their ability to identify significant associations. Notably, the heatmap plot (Figure 9) shows that the color representing p-values for LinDA exhibits a similar trend to those of the Sandwich method. However, there are fewer significant results for LinDA due to its lower power. The results from the vaginal data further validate the effectiveness of our proposed methods, demonstrating their high power in detecting significant differential taxa while effectively controlling false positive findings. In conclusion, the consistent findings across our two different studies affirm the validity and reliability of our methods.
Figure 8. Upset plot for Preterm Birth dataset. The red-colored bar plot at the bottom left shows the number of taxa detected as significant by different methods. The top right blue bar plot displays the size of each intersection, indicating the number of significant taxa shared by the methods corresponding to each intersection. The matrix at the bottom displays the intersections, with each row representing different methods and each column representing a specific intersection. The green dots in the matrix indicate the significant taxa detected by each method. Lines connecting the dots in a column show which methods share the identified significant taxa.
Figure 9. Heatmap for Preterm Birth dataset, each cell represents the adjusted p-value for a specific taxon-method combination, with the color gradient reflecting the magnitude of the p-value. Darker shades of green correspond to lower p-values, suggesting stronger evidence of differential abundance. The taxa identified by methods other than Poisson or ANCOM-BC2 models are listed on the y-axis, while the methods are presented on the x-axis. The black boxes highlight the tests that yielded statistically significant results (adjusted p-value <0.05).
5 Discussion
Our study demonstrates that our proposed covariance estimators within Poisson regression effectively mitigates heteroscedasticity in microbiome count data analysis. Extensive simulations show that both methods yield consistent and reliable parameter estimates, even when distributions are mis-specified. Our proposed Bootstrap and Sandwich estimation approaches outperform traditional methods, including negative binomial and Poisson regression, in controlling type I error rates and achieving higher statistical power. When applied to real datasets, such as those involving adenomas and preterm births, the Bootstrap and Sandwich Poisson methods exhibit greater power in detecting significant taxa and offer more accurate control of false discoveries compared to other commonly employed differential abundance analysis techniques. Based on these results, we recommend using these methods for microbiome count data, where the distribution of the count data is unknown and difficult to specify.
While the Bootstrap method is indeed a well-established technique for estimating standard errors and constructing confidence intervals, its application to “partially mis-specified” models, i.e., correct for mean but mis-specified for variance, has not been extensively explored. In our paper, we examine a Poisson model that is correctly specified for the mean (
The choice between the Bootstrap and Sandwich estimators primarily depends on the computational efficiency required for the analysis. The Bootstrap method is more time-consuming due to its nature of repeatedly fitting Poisson regressions. In contrast, the Sandwich estimator requires significantly less computation time while still providing results that are close to those obtained from the Bootstrap method. Therefore, we recommend using the Bootstrap method when working with relatively small datasets where the additional time required is manageable. For larger datasets, where computational efficiency is a concern, the Sandwich Poisson model is preferable due to its balance between performance and time efficiency. Furthermore, for complex models without readily available sandwich estimates, the Bootstrap method is a practical alternative.
Future research should expand upon our findings to investigate several areas. First, we can combine the two methods with other models, such as Zero-inflated Poisson models, to handle the zero-inflation issue which could further improve accuracy in microbiome data analysis (Xu et al., 2015; Chen and Li, 2016; Hall, 2000). Second, we may explore the application of the proposed methods to longitudinal microbiome samples. A possible solution to this problem is make use of the marginal model (Fitzmaurice et al., 2011). For example, sandwich robust estimators are widely used in Generalized Estimating Equations (GEE) to account for the within-subject correlation and estimate the covariance with working correlation matrix. It is of interest to develop “double decker sandwich” estimates to address within-subject correlation matrix and overdispersion simultaneously.
Data availability statement
The preterm birth vaginal microbiome data presented are deposited in the NCBI Sequence Read Archive (SRA) repository, Bioproject PRJNA294119, accession numbers SRX1524928-SRX1525076. Requests to access the adenomas should be directed to Jun Chen, Chen.Jun2@mayo.edu.
Author contributions
YS: Conceptualization, Formal Analysis, Investigation, Methodology, Writing–original draft, Writing–review and editing. LiL: Formal Analysis, Investigation, Methodology, Writing–original draft, Writing–review and editing. JC: Formal Analysis, Investigation, Methodology, Writing–original draft, Writing–review and editing, Supervision. KW: Formal Analysis, Investigation, Methodology, Writing–original draft, Writing–review and editing, Data curation. TW: Formal Analysis, Investigation, Writing–original draft, Writing–review and editing, Data curation. MS: Data curation, Investigation, Writing–original draft, Writing–review and editing, Methodology. CW: Investigation, Methodology, Writing–original draft, Writing–review and editing, Formal Analysis. HZ: Formal Analysis, Investigation, Methodology, Writing–original draft, Writing–review and editing. Y-CS: Formal Analysis, Investigation, Methodology, Writing–original draft, Writing–review and editing. XX: Formal Analysis, Investigation, Methodology, Writing–original draft, Writing–review and editing. AZ: Formal Analysis, Investigation, Methodology, Writing–original draft, Writing–review and editing. SP: Formal Analysis, Investigation, Methodology, Writing–original draft, Writing–review and editing. HJ: Formal Analysis, Investigation, Methodology, Writing–original draft, Writing–review and editing. LeL: Formal Analysis, Investigation, Methodology, Writing–original draft, Writing–review and editing, Conceptualization, Funding acquisition, Project administration, Resources, Supervision.
Funding
The author(s) declare that financial support was received for the research, authorship, and/or publication of this article. Research reported in this publication was supported by NIH UL1 TR002345 and R01 HD095986.
Acknowledgments
We acknowledge the use of ChatGpt 4o for assistance of grammar polishing.
Conflict of interest
LeL is a consultant to the Adial Pharmaceuticals and the Academy of Clinical Research and Study. Y-CS serves on the OncoCollective Advisory Board for Sanofi.
The author(s) declared that they were an editorial board member of Frontiers, at the time of submission. This had no impact on the peer review process and the final decision.
Publisher’s note
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.
References
Berry, A. S. F., Pierdon, M. K., Misic, A. M., Sullivan, M. C., O'Brien, K., Chen, Y., et al. (2021). Remodeling of the maternal gut microbiome during pregnancy is shaped by parity. Microbiome 9, 146. doi:10.1186/s40168-021-01089-8
Cameron, A. C., Gelbach, J., and Miller, D. (2007). Bootstrap-based improvements for inference with clustered errors. doi:10.3386/t0344
Chattopadhyay, I., Dhar, R., Pethusamy, K., Seethy, A., Srivastava, T., Sah, R., et al. (2021). Exploring the role of gut microbiome in colon cancer. Appl. Biochem. Biotechnol. 193, 1780–1799. doi:10.1007/s12010-021-03498-9
Chen, E. Z., and Li, H. (2016). A two-part mixed-effects model for analyzing longitudinal microbiome compositional data. Bioinformatics 32, 2611–2617. doi:10.1093/bioinformatics/btw308
Chen, J., Liu, L., Zhang, D., and Shih, Y. C. T. (2013). A flexible model for the mean and variance functions, with application to medical cost data. Stat. Med. 32, 4306–4318. doi:10.1002/sim.5838
Consul, P. C., and Jain, G. C. (1973). A generalization of the Poisson distribution. Technometrics 15, 791–799. doi:10.2307/1267389
Davison, A. C., and Hinkley, D. V. (1997). Bootstrap methods and their applications. Cambridge: Cambridge University Press.
DiGiulio, D. B., Callahan, B. J., McMurdie, P. J., Costello, E. K., Lyell, D. J., Robaczewska, A., et al. (2015). Temporal and spatial variation of the human microbiota during pregnancy. Proc. Natl. Acad. Sci. 112, 11060–11065. doi:10.1073/pnas.1502875112
Efron, B., and Tibshirani, R. J. (1994). An introduction to the bootstrap. Chapman and Hall/CRC. doi:10.1201/9780429246593
Fitzmaurice, G. M., Laird, N. M., and Ware, J. H. (2011). Applied longitudinal analysis. Wiley. doi:10.1002/9781119513469
Gabaix, X. (2009). Power laws in economics and finance. Annu. Rev. Econom. 1, 255–294. doi:10.1146/annurev.economics.050708.142940
Hale, V. L., Chen, J., Johnson, S., Harrington, S. C., Yab, T. C., Smyrk, T. C., et al. (2017). Shifts in the fecal microbiota associated with adenomatous polyps. Cancer Epidemiol. Biomarkers Prev. 26, 85–94. doi:10.1158/1055-9965.EPI-16-0337
Hall, D. B. (2000). Zero-inflated Poisson and binomial regression with random effects: a case study. Biometrics 56, 1030–1039. doi:10.1111/j.0006-341x.2000.01030.x
Liang, K.-Y., and Zeger, S. L. (1986). Longitudinal data analysis using generalized linear models. Biometrika 73, 13–22. doi:10.1093/biomet/73.1.13
Lin, H., and Peddada, S. D. (2024). Multigroup analysis of compositions of microbiomes with covariate adjustments and repeated measures. Nat. Methods 21, 83–91. doi:10.1038/s41592-023-02092-7
McCullagh, P., and Nelder, J. A. (1989). Generalized linear models. Boston, MA: Springer US. doi:10.1007/978-1-4899-3242-6
Nelder, J. A., and Pregibon, D. (1987). An extended quasi-likelihood function. Biometrika 74, 221–232. doi:10.1093/biomet/74.2.221
Paulson, J. N., Stine, O. C., Bravo, H. C., and Pop, M. (2013). Differential abundance analysis for microbial marker-gene surveys. Nat. Methods 10, 1200–1202. doi:10.1038/nmeth.2658
Profir, M., Roşu, O., Creţoiu, S., and Gaspar, B. (2024). Friend or foe: exploring the relationship between the gut microbiota and the pathogenesis and treatment of digestive cancers. Microorganisms 12, 955. doi:10.3390/microorganisms12050955
Qiao, X., He, H., Sun, L., Bai, S., and Ye, P. (2024). Testing latent classes in gut microbiome data using generalized Poisson regression models. Stat. Med. 43, 102–124. doi:10.1002/sim.9944
Qin, J., Li, R., Raes, J., Arumugam, M., Burgdorf, K. S., Manichanh, C., et al. (2010). A human gut microbial gene catalogue established by metagenomic sequencing. Nature 464, 59–65. doi:10.1038/nature08821
Scollnik, D. P. M. (1998). On the analysis of the truncated generalized Poisson distribution using a bayesian method. ASTIN Bull. 28, 135–152. doi:10.2143/ast.28.1.519083
Shi, Y., Wang, C., Chen, J., Jiang, H., Shih, Y. C. T., and Zhang, H. (2023). A flexible quasi-likelihood model for microbiome abundance count data. Stat. Med. 42, 4632–4643. doi:10.1002/sim.9880
Stout, M. J., Zhou, Y., Wylie, K. M., Tarr, P. I., Macones, G. A., and Tuuli, M. G. (2017). Early pregnancy vaginal microbiome trends and preterm birth. Am. J. Obstet. Gynecol. 217, 356.e1–356. doi:10.1016/j.ajog.2017.05.030
Turnbaugh, P. J., Ley, R. E., Hamady, M., Fraser-Liggett, C. M., Knight, R., and Gordon, J. I. (2007). The human microbiome Project. Nature 449, 804–810. doi:10.1038/nature06244
Wedderburn, R. W. M. (1974). Quasi-likelihood functions, generalized linear models, and the gauss-Newton method. Biometrika 61, 439. doi:10.2307/2334725
Xu, L., Paterson, A. D., Turpin, W., and Xu, W. (2015). Assessment and selection of competing models for zero-inflated microbiome data. PLoS One 10, e0129606. doi:10.1371/journal.pone.0129606
Yang, L., and Chen, J. (2022). A comprehensive evaluation of microbial differential abundance analysis methods: current status and potential solutions. Microbiome 10, 130. doi:10.1186/s40168-022-01320-0
Yang, Z., Hardin, J. W., and Addy, C. L. (2009). A score test for overdispersion in Poisson regression based on the generalized Poisson-2 model. J. Stat. Plan. Inference 139, 1514–1521. doi:10.1016/j.jspi.2008.08.018
Zeileis, A. (2006). Object-oriented computation of sandwich estimators. JSS J. Stat. Softw. 16. doi:10.18637/jss.v016.i09
Zeileis, A., Köll, S., and Graham, N. (2020). Various versatile variances: an object-oriented implementation of clustered covariances in R. J. Stat. Softw. 95. doi:10.18637/jss.v095.i01
Keywords: microbiome abundance count, robust variance estimation, heteroscedasticity, sandwich estimates, bootstrap
Citation: Shi Y, Liu L, Chen J, Wylie KM, Wylie TN, Stout MJ, Wang C, Zhang H, Shih Y-CT, Xu X, Zhang A, Park SH, Jiang H and Liu L (2024) Simplified methods for variance estimation in microbiome abundance count data analysis. Front. Genet. 15:1458851. doi: 10.3389/fgene.2024.1458851
Received: 03 July 2024; Accepted: 30 September 2024;
Published: 21 October 2024.
Edited by:
Tao Wang, Medical College of Wisconsin, United StatesReviewed by:
Jie Ren, Indiana University, Purdue University Indianapolis, United StatesYu Wang, Medical College of Wisconsin, United States
Copyright © 2024 Shi, Liu, Chen, Wylie, Wylie, Stout, Wang, Zhang, Shih, Xu, Zhang, Park, Jiang and Liu. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Lei Liu, lei.liu@wustl.edu