- Research
- Open access
- Published:
Analyzing microbiome data with taxonomic misclassification using a zero-inflated Dirichlet-multinomial model
BMC Bioinformatics volume 26, Article number: 69 (2025)
Abstract
The human microbiome is the collection of microorganisms living on and inside of our bodies. A major aim of microbiome research is understanding the role microbial communities play in human health with the goal of designing personalized interventions that modulate the microbiome to treat or prevent disease. Microbiome data are challenging to analyze due to their high-dimensionality, overdispersion, and zero-inflation. Analysis is further complicated by the steps taken to collect and process microbiome samples. For example, sequencing instruments have a fixed capacity for the total number of reads delivered. It is therefore essential to treat microbial samples as compositional. Another complicating factor of modeling microbiome data is that taxa counts are subject to measurement error introduced at various stages of the measurement protocol. Advances in sequencing technology and preprocessing pipelines coupled with our growing knowledge of the human microbiome have reduced, but not eliminated, measurement error. Ignoring measurement error during analysis, though common in practice, can then lead to biased inference and curb reproducibility. We propose a Dirichlet-multinomial modeling framework for microbiome data with excess zeros and potential taxonomic misclassification. We demonstrate how accommodating taxonomic misclassification improves estimation performance and investigate differences in gut microbial composition between healthy and obese children.
Introduction
Communities of microorganisms, referred to as microbiomes, are found almost everywhere on Earth, including on and inside our bodies, plants, animals, soil, oceans, and the atmosphere. Improving our understanding of the role of microbiota and their interactions with their hosts and other microbes has implications for a variety of fields, including human health and nutrition, medicine, ecology, agriculture, forensics, and exobiology. Microbiome datasets typically take the form of an \(N \times T\) matrix of counts, where N represents the number of observations and T represents the number of unique microbial taxa. The conventional approach for obtaining taxa counts is to sequence the 16S rRNA gene, as it contains well-conserved and hypervariable regions to differentiate different species [1]. Then, sequenced reads are clustered into operational taxonomic units, or OTUs, using 97% or 99% similarity thresholds and classified to a reference database (e.g., GreenGenes, SILVA, RDP, NCBI) using various methods [2,3,4,5,6,7,8,9]. More recently, researchers have promoted the use of amplicon sequence variants (ASVs) instead of OTUs as the unit of analysis in microbiome research [10,11,12,13]. These denoising approaches provide exact sequence variants instead of clustering sequences into OTUs to account for sequencing errors and can distinguish sequence variants differing by as little as one nucleotide. The strength of ASVs is that they provide a higher resolution to the data, are consistent labels which can be compared across studies, and have demonstrated equivalent or improved sensitivity and specificity as OTU-based methods [13]. Microbial count datasets are then used to generate inference for a variety of research aims, including estimating the relative abundances of microorganisms present in the host, determining whether species abundances vary across groups (latent or observed), and/or training models to predict phenotypic outcomes using information contained in the composition of the microbiome, among others [14,15,16,17,18,19,20,21,22,23,24].
Microbiome data are inherently challenging to analyze due to their high-dimensionality (i.e., 100s or even 1000s of taxa), overdispersion (i.e., large within- and between-subject variability), and zero-inflation (i.e., larger number of zero reads observed than expected under distributional assumptions). Analysis is further complicated by the steps taken to collect and process microbiome samples [25, 26]. For example, sequencing instruments have a fixed capacity for the total number of reads delivered. It is therefore essential to treat microbial samples as compositional multivariate count data, where the relative abundances of the taxa sum to one [27]. Another complicating factor of modeling microbiome data is that taxa counts are subject to measurement error introduced at various stages of the measurement protocol [28,29,30]. For example, clustered sequencing reads are subject to misclassification due to sequencing errors, and taxonomic allocation is sensitive to the clustering method and reference database used. Even in ASV studies, bacterial genomes may have multiple 16S rRNA genes that are not identical, which could lead to splitting a single genome into multiple clusters, and the 16S rRNA gene may not contain all necessary genetic variation underlying ecological and evolutionary differences to differentiate between species [13, 31, 32]. While it is now standard for microbiome analyses to accommodate high-dimensionality, overdispersion, zero-inflation, and the compositional structure characteristic of microbial data (though oftentimes not simultaneously), potential misclassification of the observed reads is typically ignored, which can bias downstream inference, underestimate parameter uncertainty, and curb reproducibility. In this work, we introduce a scalable Bayesian modeling framework that simultaneously accommodates the aforementioned challenges in microbiome data analysis.
In practice, zero reads in microbiome data can occur in two different ways: (1) the organism is not present in the sampling region and therefore the probability of occurrence is zero (i.e., structural zero) and (2) the organism is present but was not sampled (i.e., at-risk zero). A common technique for modeling zero-inflation in microbial count data is to construct a two-component mixture of a point mass at zero and a sampling distribution for the counts (e.g., Poisson or negative binomial distributions in the univariate setting), where a latent at-risk indicator is introduced to differentiate between at-risk and structural zeros [16, 21, 23, 33,34,35]. To model zero-inflation in multivariate count data, researchers typically link zero-inflated univariate count models together by embedding latent parameters which control the dependence structure between counts [36, 37]. [38] recently introduced a zero-inflated Dirichlet-multinomial (ZIDM) model for handling excess zeros in multivariate compositional count data collected in microbiome research settings, which differs from previous methods for modeling zero-inflation by assuming a mixture distribution on the count probabilities as opposed to the sampling distribution.
While potential misclassification of microbial taxa is typically ignored in microbiome studies, researchers have investigated the effects of measurement error on inference [29]. For example, [28] demonstrate how measurement error in 16S rRNA gene studies can bias inference and diminish the replicability of measured differences between samples. [35] model microbial counts with a zero-inflated Poisson-gamma model, which introduces a multiplicative factor for the rate parameter in the Poisson distribution to accommodate the deviation of observed abundances to unobserved true abundances. [39] propose a log-error-in-variable regression model for handling measurement error in compositional regression settings (i.e., when microbiome data are treated as covariates).
Outside of microbiome research studies, there are numerous existing approaches for modeling misclassification in multivariate count data which have been applied in various settings [40,41,42,43,44,45,46]. The typical approach for modeling potential misclassification is to assume the observed classification of each observation follows a multinomial distribution given the true (latent) classification. Recently, this technique has been used to model potential misclassification in ecological multispecies occupancy models [44,45,46]. However, these methods are not designed to accommodate the compositional and/or high-dimensional structure of multivariate count data found in microbiome research settings.
A major challenge in modeling misclassification in count data is that the model is not identifiable without additional information about the misclassification process beyond the observed data [40]. In some research settings, validated or true classifications may be available for a subset of the data which can be used to inform misclassification rates in the model in a semi-supervised setting [47]. When validation data are not available, Bayesian methods are commonly preferred over frequentist alternatives to incorporate prior information regarding misclassification rates [40, 42, 47].
In this study, we investigate differences in the gut microbial composition of obese and healthy children and adolescents [48]. To this end, we propose a scalable zero-inflated Dirichlet-multinomial regression model which accommodates potential misclassification to investigate the relation between covariates and the true, unobserved microbial counts. Specifically, we take a hierarchical approach that assumes the true microbial abundances follow a zero-inflated Dirichlet-multinomial distribution which incorporates covariate associations with the true taxa counts and the at-risk probabilities. We then construct a confusion matrix to model the probability of the observed microbial taxa given the learned, true classifications. To accommodate high-dimensional settings, we extend the model with sparsity-inducing priors to identify covariates associated with the probability of an at-risk observation and the microbial taxa. In addition to providing relative abundance estimates that accommodate classification uncertainty for downstream analysis, our analysis reveals key insights into the relation between obesity and microbial composition.
The rest of this work is organized as follows. In Sect. Model, Notation, and Inference we introduce our framework for modeling zero-inflation and misclassification in microbiome data and discuss recommendations for prior specification and posterior inference. Section Synthetic Data Evaluation provides a simulation study to evaluate how the proposed modeling framework performs in the presence of varying levels of misclassification, overdispersion, and sparsity. In Sect. The Effect of Obesity on the Composition of the Human Microbiome we investigate the relation between obesity and the human gut microbiome using our modeling framework. We provide concluding remarks in Sect. Conclusions.
Model, notation, and inference
In this section, we first introduce pertinent notation and then detail our approach for modeling potential misclassification of and zero-inflation in microbial count data, which we refer to as MicroMiss. Thereafter, we discuss posterior sampling and inference.
Let the C-dimensional vector \(\varvec{y}_{il}\) represent the observed taxon classification for the \(l^{th}\), \(l = 1, \dots , \dot{z}_i\), organism of the \(i^{th}\), \(i = 1, \dots , N\), host, where \(y_{ilc} = 1\) indicates the observed organism was classified as the \(c^{th}\) taxon and 0 otherwise. Let the T-dimensional vector \(\varvec{z}_{il}\) represent the organism’s true classification, where \(z_{ilt} = 1\) indicates the organism truly belongs to the \(t^{th}\) taxon group and 0 otherwise. In this analysis, we assume \(T=C\), and the ordering of the taxa is the same in \(\varvec{y}_{il}\) and \(\varvec{z}_{il}\).
To model the true (latent) classifications of each organism, we assume
where \(\varvec{\Theta }_{i}\) is a host-specific T-dimensional vector of true relative abundances. A standard approach for accommodating overdispersion in microbiome studies is to assume the relative abundances follow a Dirichlet distribution [15, 49]. Specifically, we let \(\varvec{\Theta }_{i} \sim \text{ Dirichlet }(\varvec{\gamma }_{i})\), where \(\varvec{\gamma }_{i}\) represents a T-dimensional vector of concentration parameters. We introduce covariates into the model for the relative abundances by setting \(\log (\gamma _{it}) = \varvec{x}_{i}^{\prime } \varvec{\beta }_{\gamma _{t}}\) with \(\beta _{\gamma _{tp}} \sim \text{ Normal }(\mu _{\gamma },\sigma ^2_{\gamma })\) and \(\varvec{x}_{i}\) a P-dimensional, \(p = 1,\dots ,P\), host-specific set of covariates including an intercept term. When there is a large number of taxa and/or covariates, researchers typically induce sparsity on their relations [15, 38, 50]. To accommodate sparse settings, we alternatively place spike-and-slab priors on \(\varvec{\beta }_{\gamma _t}\), similar to [15, 18, 24, 38, 51]. Specifically, we let \(\beta _{\gamma _{tp}}|\zeta _{\gamma _{tp}}, \sigma ^2_{\gamma } \sim \zeta _{\gamma _{tp}} \cdot \text{Normal}(0,\sigma ^2_{\gamma }) + (1-\zeta _{\gamma _{tp}} ) \cdot \delta _0(\beta _{\gamma _{tp}})\), where \(\zeta _{\gamma _{tp}} \in \{0,1\}\) is a latent inclusion indicator and \(\delta _0(\cdot )\) is a Dirac delta function, or point mass, at 0. We then assume \(\zeta _{\gamma _{tp}} \sim\) Beta-Binomial(\(a_{\gamma }\), \(b_{\gamma }\)), where \(a_{\gamma }\) and \(b_{\gamma }\) can be set to impose various levels of sparsity in the model. Since the regression coefficients are taxon-specific, this modeling framework provides inference on the association between covariates and each taxon. However, inference on a covariate’s association with a taxon's relative abundance is not straightforward, as it is indirectly modeled through the concentration parameters. We discuss this in more detail in Sect. Posterior Sampling and Inference.
In order to accommodate zero-inflation in the Dirichlet distribution, we reparameterize \(\varvec{\Theta }_{i}\) as a set of independent, zero-inflated gamma random variables, \(\varvec{\alpha }_{i}\), normalized by their sum (i.e., \(\varvec{z}_{il}|\varvec{\alpha }_{i} \sim \text {Multinomial} (1,\frac{\varvec{\alpha }_{i}}{\bar{\alpha }_{i}})\)), where
\(\bar{\alpha }_{i} = \sum _{t=1}^T \alpha _{it}\), and \(\zeta _{it}\) is a latent at-risk indicator that differentiates between at-risk observations and structural zeros, similar to [38]. We assume the latent at-risk indicators \(\zeta _{it}|\varvec{\beta }_{\eta _{t}}, \varvec{x}_{i} \sim \text{ Bernoulli }(\eta _{it})\), where \(\text {logit}(\eta _{it}) = \varvec{x}_{i}^{\prime }\varvec{\beta }_{\eta _{t}}\), \(\varvec{x}_{i}\) is a set of host-specific covariates including an intercept term, and \(\varvec{\beta }_{\eta _{t}}\) are the corresponding taxon-specific regression coefficients. Here, \(\eta _{it}\) is interpreted as the at-risk probability, and \(\varvec{\beta }_{\eta _{t}}\) represent log odds ratios for an at-risk observation which are taxon specific. We let \(\beta _{\eta _{tp}} \sim \text{ Normal }(\mu _{\eta },\sigma ^2_{\eta })\). Similarly, we can induce sparsity in \(\varvec{\beta }_{\eta _{t}}\) by assuming \(\beta _{\eta _{tp}}|\zeta _{\eta _{tp}}, \sigma ^2_{\eta } \sim \zeta _{\eta _{tp}} \cdot \text{Normal}(0,\sigma ^2_{\eta }) + (1-\zeta _{\eta _{tp}} ) \cdot \delta _0(\beta _{\eta _{tp}})\), where \(\zeta _{\eta _{tp}} \in \{0,1\}\) is a latent inclusion indicator. We then assume \(\zeta _{\eta _{tp}} \sim\) Beta-Binomial(\(a_{\eta }\), \(b_{\eta }\)) and refer to the sparsity-induced version of the model as MicroMissS.
To model the observed reads, we assume
where \(\varvec{\theta }_{t}\) is a C-dimensional vector of observed taxa probabilities. We assume the observed classification probabilities depend on the true taxon classification of each organism, \(z_{ilt}=1\), with \(\varvec{\theta }_{t} \sim \text{ Dirichlet }(\varvec{\nu }_{t})\), where \(\varvec{\nu }_{t}\) is a C-dimensional vector of taxon-specific concentration hyperparameters. For notational purposes, let \(\varvec{\theta } = (\varvec{\theta }_{1}^{\prime }, \dots ,\varvec{\theta }_{T}^{\prime })^{\prime }\) represent a confusion matrix which maps the potential misclassification in the data. Since read-level validation data are not available to inform \(\varvec{\theta }\), prior information regarding taxonomic misclassification will be incorporated through the specification of \(\varvec{\nu }_{t}\).
Prior specification for misclassification
In this section, we discuss different approaches for specifying the hyperparameters \(\varvec{\nu }_{t}\). Under the proposed modeling framework, the probability of correct classification of the \(t^{th}\) taxon a priori is \(\nu _{tt}/\sum _{c=1}^C\nu _{tc}\). Thus, a simple and intuitive way of specifying \(\varvec{\nu }_t\) is to set each \(\nu _{tc} = 1\) and increase \(\nu _{tt}\) to the desired probability of correct classification. For example, if \(C = 51\) and \(\nu _{tt}=50\), then the probably of correct classification would be 0.50, and the probability of misclassifying a \(t^{th}\) taxon as a \(c^{th}\) taxon for \(t \ne c\) is 0.01. An alternative approach is to incorporate prior knowledge when assigning classification probabilities. For example, if the OTUs are aggregated at the genus level, one may place a very small probability of misclassification to genera that belong to different families. Caution is advised when taking this approach as it assumes some level of accuracy for OTU classification as well as the taxonomic structure, which is somewhat contradictory as the classifications are assumed to contain errors. Note that by assuming \(\varvec{\theta }_t\) is shared across all observations, the model borrows information across observations to inform the misclassification probabilities.
Posterior sampling and inference
For inference, we implement a Metropolis-Hastings within Gibbs algorithm to sample the resulting posterior distribution, which is outlined below in Algorithm 1 and detailed in the Supplementary Information. The full joint distribution (see Fig. 1 for a graphical representation) is defined as
For efficient sampling, we introduce auxiliary parameters \(\mu _{i}|\bar{\alpha }_{i} \sim \text{ Gamma }(\dot{z}_i, \bar{\alpha }_{i})\) and a latent set of auxiliary parameters \(\omega _{\zeta _{it}} \sim \text{ PG }(1,0)\), where PG represents a Pólya-gamma distribution, following [38] and [52], respectively. Additionally, we reparameterize \(\theta _{tc} = a_{tc}/\bar{a}_{t}\) and assume \(a_{tc} \sim \text{ Gamma }(\nu _{tc}, 1 )\) with auxiliary parameter \(u_{t} \sim \text{ Gamma }(\sum_{i=1}^N \sum_{l=1}^{\dot{z}_i} I( z_{ilt} = 1 ), \bar{a}_{t} )\) and \(\bar{a}_{t} = \sum _{c=1}^C a_{tc}\). This enables efficient sampling of \(\varvec{\theta }_{t}\) using a similar data augmentation approach as that introduced for \(\varvec{\Theta }_i\).
In microbiome studies, it is common to observe millions of reads for a given sample. Since we model potential misclassification at the read level, our approach can quickly encounter storage and computing limitations when applied to even moderately sized datasets. To improve the scalability of the model, we propose block updates for the latent classifications with corresponding \(y_{ilc} = 1\), which we denote \(\varvec{z}_{ic}\), instead of updating the latent classifications individually. Specifically, we update the latent indicators at the observation level from a Multinomial\((\sum _{l = 1}^{\dot{z}_i} I(y_{ilc} = 1), \varvec{\Theta }_{i} \otimes \varvec{\theta }_{c})\), where \(I(\cdot )\) is an indicator function and \(\otimes\) represents an element-wise product. Let the vector of latent classifications \(\varvec{z}_i = \sum _{c=1}^C \varvec{z}_{ic}\). In settings where the true relative abundances and/or the classification probabilities are modeled at the read level, it is no longer possible to aggregate the latent classifications without requiring substantial computing resources or resorting to approximate techniques for inference.
The main outcomes of interest in this analysis are the estimated relations between observed covariates and the probability of an at-risk observation as well as the true relative abundances. In the proposed model, \(\beta _{\eta _{tp}}\) is interpreted as the expected change in log odds ratio of an at-risk observation for a one unit increase in the corresponding covariate holding all else constant, and \(\exp (\beta _{\gamma _{tp}})\) is interpreted as the multiplicative change in the concentration parameter \(\gamma _t\) for a unit increase in \(x_p\) holding all else constant. While oftentimes overlooked in practice, the relation between covariates and relative abundances is more complicated, due to the fact that covariates are potentially related to each compositional element, as described in [53]. Thus the multiplicative effect on the \(t^{th}\) relative abundance for a one unit increase in the \(p^{th}\) covariate for the \(i^{th}\) observation is defined as
where \(\varvec{x}^{(p) }_i = (x_{i1}, x_{i2},\dots , x_{ip} + 1, \dots , x_{iP})^{\prime }\). It is clear that the effect of the \(p^{th}\) covariate on the \(t^{th}\) relative abundance depends not only on its corresponding regression coefficient, \(\beta _{\gamma _{tp}}\), but also its effect on the other relative abundances and their corresponding concentration parameters. As such, we may observe a decrease (increase) in the \(t^{th}\) relative abundance with an increase in \(x_p\), even if \(\beta _{\gamma _{tp}} > 0\) (\(\beta _{\gamma _{tp}} < 0\)). In sparse settings where \(x_p\) is associated with only the \(t^{th}\) compositional element, then the direction of \(\beta _{\gamma _{tp}}\) matches the multiplicative effect on the corresponding relative abundance. For inference on these quantities, the posterior means of the MCMC samples are calculated and 95% credible intervals are constructed using the empirical quantiles. Estimates of the true relative abundances for each observation can be obtained by normalizing the vector \(\varvec{\alpha }_i\) over its sum for each MCMC iteration and the averaging over samples. Additionally, estimates of the confusion matrix \(\varvec{\theta }\) can be obtained similarly given \(\varvec{a}_{t}\).
Graphical representation of the proposed MicroMiss model. Note that auxiliary parameters and hyperparameters have been suppressed for clarity. \(\varvec{N}\) - total observations; \(\dot{\varvec{z}}_i\) - total reads per observation; \(\varvec{T}\) - true number of taxa; \(\varvec{C}\) - observed number of taxa.
Synthetic data evaluation
In this section, we investigate how ignoring misclassification in multivariate compositional count data can bias inference for the relation between observed covariates and relative abundances. Data are generated similar in structure to the application study with varying levels of misclassification, overdispersion, and sparsity. We compare the estimation results of our approach, MicroMiss, to those obtained with a naive zero-inflated Dirichlet-multinomial (ZIDM) regression model, which accommodates excess zeros but not misclassification [38], and a Dirichlet-multinomial regression model [54]. Additionally, we compare MicroMissS to three alternative Bayesian methods designed for sparse settings: ZIDMbvs [38], DMBVS [15], and a zero-inflated negative binomial regression model with sparsity-inducing priors (ZINB) [21]. The MicroMiss, ZIDM, and DM models with and without variable selection priors were implemented in R using Rcpp to improve computation time [55].
Specifically, we generated \(N=50\) observations of \(\dot{z}_i =\) 10,000 total reads to classify into \(C=50\) taxa groups. We assumed that the true number of compositional elements, T, matches the potentially observed number of taxa, C. Observation-specific at-risk indicators were sampled from a Bernoulli distribution with the at-risk probabilities set to \(\exp (\beta _{\eta _{t0}} + \beta _{\eta _{t1}}x_{i1})/( 1 + \exp (\beta _{\eta _{t0}} + \beta _{\eta _{t1}}x_{i1}))\), where \(x_{i1}\) was generated from a standard normal for each observation. The true classification of each read was generated from a Multinomial\((1,\varvec{\psi }_i^*)\), where \(\varvec{\psi }_i^*\sim \text{ Dirichlet }(\varvec{\gamma }_i^*)\), \(\gamma _{it}^* = \frac{\gamma _{it}}{\sum _{s=1}^T\gamma _{is}}\frac{1-d}{d}\), \(\gamma _{it} = \exp (\beta _{\gamma _{t0}} + \beta _{\gamma _{t1}}x_{i1})\), and overdispersion parameter \(d \in \{ 0.01, 0.05, 0.10 \}\) so that the model assumptions did not match the true data generation process. We set 50% of the covariate associations to zero in both levels of the model. When active, the corresponding regression coefficients \(\beta _{\eta _{t1}}\) and \(\beta _{\gamma _{t1}}\) were set to \(\pm 1\) with equal probability. The intercept terms \(\beta _{\eta _{t0}} = \beta _{\gamma _{t0}} = 0\). To demonstrate how the model performs in sparse settings, we generated data similar to the above, but instead only allowed regression coefficients \(\beta _{\eta _{t1}}\) and \(\beta _{\gamma _{t1}}\) for \(t=1,\dots ,10\) to be non-zero with 0.50 probability. The data were generated with \(T=C=50\) and \(T=C=250\) to further assess the scalability of the methods. In all settings, the observed classifications were generated from a Dirichlet-multinomial model with a similar overdispersion parameter as above. We set the off-diagonal elements of the concentration parameter matrix, \(\nu _{tc} = 1\). The diagonal elements were then set to mimic varying levels of misclassification for each compositional element (i.e., \(v_{tt} = p_{tt}*T/(1-p_{tt})\)), where \(p_{tt}\) is the assumed probability of correct classification. This assumes that the true counts for a compositional element were misclassified with equal probability.
All methods were run for 5000 iterations treating the first 2500 as burn-in and thinning to every \(5^{th}\) iteration, providing 500 MCMC iterations for inference. We assumed non- or weakly-informative priors with \(\mu _{\eta} = \mu _{\gamma} = 0\) and \(\sigma _{\eta }^2= \sigma _{\gamma }^2 = 5\). We set the hyperparameters \(\nu _{tt} = 100\) and \(\nu _{tc} = 1\), representing around a 0.70 probability of correct classification a priori when C = 50. To initialize each model, we set the true counts \(\varvec{z}_i\) to the observed counts \(\varvec{y}_i\). Regression coefficients were initialized at zero with auxiliary parameters \(\omega _{\zeta _{it}}\) set to one. The at-risk indicators \(\zeta _{it}\) and \(\alpha _{tc}\) were also set to one. Auxiliary parameters \(u_t\) and \(\mu _{i}\) were randomly initialized from a Gamma(1,1).
We evaluated the models’ estimation performance in four settings. In the first, we assumed no misclassification, which we refer to as the Null setting. We then investigated the model with increasing levels of misclassification. Specifically, we assumed each taxon was misclassified with 0.05 probability (Low), 20% of the observations were misclassified with 0.25 or 0.15 probability and the remaining 60% with 0.05 probability (Medium), and 20% of the observations were misclassified with 0.15 or 0.05 probability and the remaining 60% with 0.25 probability (High). In each setting, the models were evaluated in terms of the average absolute value of the bias for the regression coefficients and 0.95 coverage probabilities in the at-risk portion of the model and the concentration parameters. Results were separated by active (i.e., \(\beta _{\eta _{t1}},\beta _{\gamma _{t1}} \ne 0\) ) and non-active (i.e., \(\beta _{\eta _{t1}},\beta _{\gamma _{t1}} = 0\)) regression coefficients. Additionally, we evaluated the models’ average absolute value of the bias and coverage probability for \(\pi _t(\varvec{x}_{ip})\) in Eq. 5 and computation time. The simulated average \(\pi _t(\varvec{x}_{ip})\) was 1.13, ranging from around 0.15 to 5. Results we report below were obtained by averaging over 50 replicated datasets for each setting (Table 1).
In the Null setting, we observed similar performance between MicroMiss and ZIDM, with the proposed approach having slightly better estimation performance for the effects on the concentration parameters and \(\pi _t(\varvec{x}_{ip})\). The DM regression model performed considerably worse when estimating the non-zero regression coefficients associated with the concentration parameters and \(\pi _t(\varvec{x}_{ip})\), since it ignores potential zero-inflation. As the misclassification probabilities increased, the estimation performance of the models decreased for non-zero regression coefficients in the at-risk portion of the model and concentration parameters, with the proposed method always outperforming ZIDM and DM. However, ZIDM’s estimation performance for zero effects on the at-risk probabilities improved with higher misclassification. A similar trend was observed for all methods with respect to the zero effects on the concentration parameters. Intuitively when potential misclassification is present, the signal between covariates and taxa counts is biased towards the null for all associations, which reflects the improved performance for zero effects by the alternative models in some settings. The proposed method was able to maintain coverage for regression coefficients associated with the probability of an at-risk observation, obtaining roughly 93% coverage. Additionally, MicroMiss held above 70% coverage for \(\pi _t(\varvec{x}_{ip})\) regardless of the amount of misclassification. ZIDM’s and DM’s coverage were considerably lower for \(\pi _t(\varvec{x}_{ip})\) and largely affected by misclassification. With more overdispersion (Supplementary Tables S1 and S2), we observed a similar pattern in estimation performance. However, in the setting with the highest amount of overdispersion (i.e., \(d =0.10\)), MicroMiss also obtained better estimation performance for zero effects on the at-risk probabilities with increased misclassification compared to ZIDM. On average, DM, ZIDM, and MicroMiss took 6, 16, and 70 seconds to run 5000 iterations on an Intel Xeon Bronze 3204 1.9 GHz processor with 16 GB RAM in all simulation settings, respectively.
To evaluate the models’ variable selection performance in sparse settings, we calculated the sensitivity (1 - false negative rate) and specificity (1 - false positive rate) for \(\beta _{\eta _{t1}}\) and \(\beta _{\gamma _{t1}}\), defined as \(\text{ Sensitivity } = \frac{TP}{FN + TP}\) and \(\text{ Specificity } = \frac{TN}{FP + TN}\), where TN, TP, FN, and FP represent the true negatives, true positives, false negatives, and false positives, respectively. Additionally, we evaluated the models’ average absolute value of the bias and coverage probability for \(\pi _t(\varvec{x}_{ip})\) and computation time. With \(T=C=50\) (Supplementary Table S3), we found that ZIDMbvs was unable to identify any non-zero \(\beta _{\eta _{t1}}\) in the presence of misclassification. Whereas MicroMissS was able to obtain a sensitivity around 0.75 and specificity above 0.70 in all settings. Note that DMBVS and ZINB do not perform selection on covariates potentially associated with the probability of an at-risk observation. For \(\beta _{\gamma _{t1}}\), we observed a decrease in sensitivity with more misclassification for MicroMissS. Similar results were observed for ZINB. However, as the amount of misclassification increased, MicroMissS was able to obtain a higher specificity than ZINB. ZIDMbvs and DMBVS tended to underselect \(\beta _{\gamma _{t1}}\) with misclassification present. Given the improved selection performance, the proposed MicroMissS model also obtained the best estimation and coverage performance for \(\pi _t(\varvec{x}_{ip})\). In settings with \(T=C=250\), we observed a similar pattern in selection performance for \(\beta _{\eta _{t1}}\) (Supplementary Table S4). For \(\beta _{\gamma _{t1}}\), the proposed method was outperformed by ZINB in terms of sensitivity as it tended to overselect. As a result, ZINB had the lowest specificity among all models. We also observed that despite the improved selection performance of MicroMissS compared to ZIDMbvs and DMBVS, the two alternative methods were able to obtain better estimation results for \(\pi _t(\varvec{x}_{ip})\). We attribute this result to the alternative methods obtaining better specificity levels in the presence of misclassification as the regression coefficients are biased towards the null when misclassification is ignored. With \(T=C=50\), we observed similar computation times in the sparse and non-sparse settings for all methods. In the high-dimensional settings (i.e., \(T=C=250\)), ZINB, DMBVS, ZIDMbvs, and MicroMissS took roughly 120, 25, 60, and 900 seconds to run 5000 MCMC iterations, respectively.
Sensitivity analysis
In this section, we evaluate the sensitivity of the proposed model to hyperparameter specification. To assess the model’s sensitivity to hyperparameter settings, we set each of the hyperparameters to default values and then evaluated the effect of manipulating each term on parameter estimation using data simulated similar to the Medium setting. The model was evaluated with different hyperparameter settings for \(\nu _{tt}\) and the variance of the regression coefficients (\(\sigma ^2_{\eta }\) and \(\sigma ^2_{\gamma }\)).
We observed similar performance for the proposed method with \(\nu _{tt} = 10 \text{ and } 100\) in terms of absolute error and coverage probability for non-zero effects on the at-risk probabilities (Table 2). With larger \(\nu _{tt}\), the results between MicroMiss and ZIDM should agree, as the probability of misclassification is negligible. This occurred with \(\nu _{tt} =\) 1,000 in this setting. We also observed that the average absolute bias increased with \(\nu _{tt}\) for zero effects on the at-risk probabilities and relative abundances with coverage probabilities remaining relatively unaffected. Lastly, we found a slight reduction in performance as the variance of the regression coefficients increased for all metrics.
The effect of obesity on the composition of the human microbiome
Maintaining a healthy gut microbiota can potentially help prevent or alleviate obesity and other metabolic diseases [56, 57]. However, the relation between the composition of the gut microbiome and obesity is often inconsistent across studies [58]. The goal of this analysis is to investigate the effect of obesity on the composition of the microbiome in a cohort of children and adolescents while accounting for potential zero-inflation and misclassification of microbial counts. The data investigated in this study were first published in [48] and made available at [59]. Prior to analysis, the microbial samples were processed similar to [60], where samples with less than 100 reads and OTUs with less than 10 reads were removed. Additionally, OTUs with less than 1% non-zero reads were excluded from this analysis. For analysis, the taxa counts were then aggregated at the genus level, with any OTUs that were not annotated removed prior to analysis. After processing the data, there were \(N = 41\) individuals (16 healthy and 25 obese) with \(C=97\) different compositional elements. Of these individuals, 18 were female (44%), and the average (SD) age was 13.4 (2.8) years old. This dataset contained up to 50% zero reads at the genus-level.
To analyze these data, we set \(\nu _{tt} = 500\) with \(\nu _{tc} = 1\), and \(\sigma ^2_{\gamma } = \sigma ^2_{\eta } = 1\). Since there were 97 compositional elements, this assumes that the probability of correct classification for each taxon was roughly 0.85 a priori, with the probability of misclassification equally spread across the other OTUs. The model was initialized similar to the simulation study. Disease status (Obese = 1, Healthy = 0) was included in both levels of the model (i.e., at-risk probability and the true (latent) relative abundances). The MCMC algorithm was run for 10,000 iterations, treating the first 5000 as burn-in and thinning to every 5th iteration, leaving 1000 MCMC samples for inference. Convergence and mixing of the models was visually inspected using traceplots. A random subset of these are found in the Supplementary Information for reference (Figure S1).
Figure 2 presents the estimated average relative abundances at the family level for obese and healthy participants using the proposed MicroMiss model. Table 3 presents the estimated average relative abundances at the genus level for obese and healthy participants using the proposed MicroMiss model as well as the ZIDM model (which does not accommodate potential misclassification) for comparison. For ease of exposition, only the genera with an estimated relative abundance of more than 0.01 in either the obese or healthy groups are included. A typical downstream analysis of estimated relative abundances is to perform differential abundance (DA) testing to determine if the relative abundances of certain microorganisms are different across groups [61]. For reference, differential abundance testing was performed using a rank sum test after applying a centered log ratio transformation to the estimated relative abundances [62]. Supplementary Table S5 presents similar findings as Table 3 but with the centered log ratio transformed relative abundances. We observe stark differences in the relative abundances of the two groups, specifically for Lachnospiraceae and Prevotellaceae. Genus Bacteriodies was most abundant in both healthy (25.1%) and obese (27.1%) participants, and Prevotella was enriched for those with obesity. We also observed a higher relative abundance of Blautia in healthy (17.3%) participants versus obese (4.2%).
Of interest in this analysis is the estimated multiplicative effect of being obese versus healthy on the relative abundance of each taxon. Figure 3 presents the estimated effects using MicroMiss and ZIDM and corresponding 95% credible intervals on the log scale. As mentioned previously, the effect of disease status on a given OTU depends on its effect on the other OTUs in the model as well as their relative abundances. Thus, there may not be a one-to-one relationship between the estimated regression coefficients associated with the concentration parameters (available in Supplementary Information Figure S2) and the true relative abundances. In this analysis, we observed 2 genera-obesity associations in which the corresponding 95% credible intervals did not contain a multiplicative effect of 1; Blautia and Megamonas. Recently, Blautia was found to be inversely related to visceral fat accumulation in adults [63] and depleted in obese children [64]. Megamonas was found to be positively associated with obesity in Chinese [65] and Taiwanese adults [66]. Our post-hoc DA found Megamonas depleted in obese participants. With the ZIDM model, which does not accommodate classification uncertainty, we observed associations between Anaerostipes, Bacteroides, Blautia, Campylobacter, Clostridium XlV, Faecalibacterium, Finegoldia, Oscillibacter, Peptoniphilus, and Roseburia and obesity. While a majority of the estimated relations between different genera and obesity were similar with both models, a few flipped directions. Interestingly, obesity was positively associated with the relative abundance of Blautia using the ZIDM model, but we observed a negative relation with MicroMiss. Recall that we also observed Blautia enriched for the healthy group. These seemingly conflicting results highlight the importance of considering potential misclassification as well as the compositional structure of the microbiome data when performing analysis, especially in regression settings where covariates are potentially associated with multiple taxa. Said differently, when evaluating the effect of a covariate on a particular relative abundance, it is often not possible to “hold all else constant” as other relative abundances may also depend on the given covariate.
Our modeling framework simultaneously provides inference on the relation between obesity status and at-risk probabilities (Fig. 4). We observed a positive association between obesity and at-risk observations in Anaerococcus, Finegoldia, Murdochiella, Peptoniphilus, and Prevotella. Prevotella is commonly found to be associated with obesity and has shown a positive association in weight loss studies [65, 67]. We estimated the relative abundance of Prevotella in the obese group as 21.9%, whereas it was only 4.1% in the healthy group. With the ZIDM model, we observed associations between obesity and the at-risk probability of Anaerococcus, Leuconostoc, Mobiluncus, Porphyromonas, Prevotella, and Weissella. The proposed model’s estimated credible intervals were typically larger than the ZIDM model, as expected from the results on simulated data.
We further analyzed the application data with the sparsity-induced version of our model, MicroMissS. Using non-informative prior probabilities of inclusion (i.e., \(a_{\eta }=b_{\eta } = a_{\gamma } = b_{\gamma } = 1\)), MicroMissS found that obesity status was associated with the probability of an at-risk observation for Acidaminococcus, Akkermansia, Anaerosporobacter, Bacteroides, Barnesiella, Bifidobacterium, Blautia, Clostridium sensu stricto, Coprococcus, Gemmiger, Haemophilus, Odoribacter, Prevotella, Pseudoflavonifractor, and Ruminococcus. The proposed model also identified associations between obesity status and the concentration parameters for Anaerosporobacter, Blautia, Clostridium IV, Faecalibacterium, Gemmiger, Lachnospiracea incertae sedis, and Megamonas. Applying the ZINB model to the data, over half of the taxa were found to be associated with obesity status using a non-informative prior probability of inclusion. Reducing the prior probability of inclusion to 0.001, the model similarly identified Blautia, Clostridium IV, Faecalibacterium, Gemmiger, and Lachnospiracea incertae sedis as associated with obesity status, in addition to 17 other taxa. These results were not surprising as ZINB tended to identify more associations than MicroMissS in simulation. In terms of computation time, the proposed MicroMiss and MicroMissS models took roughly 5 minutes to generate the 10,000 MCMC samples, whereas ZIDM and ZINB took 1 min and 30 s, respectively.
Lastly, we performed a sensitivity analysis in order to assess how the results may change when \(\varvec{\nu }\) is specified using phylogenetic information and with higher levels of misclassification artifically introduced into the observed counts. See section S3 in the Supplementary Information for more details.
Conclusions
In this work, we proposed a Bayesian zero-inflated Dirichlet-multinomial regression model for microbiome data with potential taxonomic misclassification. Our framework treats zero-inflation as a model selection problem and accommodates uncertainty in observed taxa counts by assuming they are realizations from the true (unobserved) classifications through a taxon-specific Dirichlet-multinomial model. Our approach is scalable, handles the complex structure of microbial count data, and allows covariates to be associated with the at-risk probabilities as well as the concentration parameters for the latent relative abundances. Additionally, it is agnostic to the procedures used to collect and process the observed taxa counts and can flexibly incorporate information regarding the structure of the data that may inform potential misclassification patterns. Through simulation and real data analysis, we demonstrate how ignoring misclassification can affect inference on covariates’ associations.
As a first attempt at modeling misclassification in microbiome data, we assume that misclassification rates are shared across individuals, borrowing information across observations for inference. An extension of this work is to modify the misclassification probabilities to vary at the host, or even read level. For example, the model could be specified so that reads with similar sequences may be misclassified with a larger probability. While this would provide more nuanced inference, it would also greatly increase an already large parameter space. Relatedly, future extensions could explore incorporating covariate information to inform potential misclassification probabilities when available. While developed for microbiome data analysis, the proposed modeling framework is generally applicable to other classification settings in which zero-inflation and potential misclassification are present. Lastly, an active area in microbiome research is developing personalized interventions to help moderate the composition of the microbiome to improve health outcomes. Given the high variability of microbiome samples within and between individuals, a future next step would be to adapt the model to handle time-varying and individual-level effects following [68].
Availability of data and materials
Code to implement the method (MicroMiss.zip), replicate the study findings (DataAnalysis.R), and simulate data in the simulation study (Simulation_code.R) as well as details of the MCMC algorithm and supplemental figures are found in the Supplementary Information. Data used in the analysis are found at: https://zenodo.org/records/569601.
References
Gwak HJ, Rho M. Data-driven modeling for species-level taxonomic assignment from 16S rRNA: application to human microbiomes. Front Microbiol. 2020;11:570825.
Huson DH, Auch AF, Qi J, Schuster SC. MEGAN analysis of metagenomic data. Genome Res. 2007;17(3):377–86.
Wang Q, Garrity GM, Tiedje JM, Cole JR. Naive Bayesian classifier for rapid assignment of rRNA sequences into the new bacterial taxonomy. Appl Environ Microbiol. 2007;73(16):5261–7.
Wood DE, Salzberg SL. Kraken: ultrafast metagenomic sequence classification using exact alignments. Genome Biol. 2014;15(3):1–12.
Edgar RC. Search and clustering orders of magnitude faster than BLAST. Bioinformatics. 2010;26(19):2460–1.
Edgar RC. UPARSE: highly accurate OTU sequences from microbial amplicon reads. Nat Methods. 2013;10(10):996.
Allard G, Ryan FJ, Jeffery IB, Claesson MJ. SPINGO: a rapid species-classifier for microbial amplicon sequences. BMC Bioinform. 2015;16(1):1–8.
Shah N, Meisel JS, Pop M. Embracing ambiguity in the taxonomic classification of microbiome sequencing data. Front Genet. 2019;10:1022.
Bolyen E, Rideout JR, Dillon MR, Bokulich NA, Abnet CC, Al-Ghalith GA, et al. Reproducible, interactive, scalable and extensible microbiome data science using QIIME 2. Nat Biotechnol. 2019;37(8):852–7.
Eren AM, Maignien L, Sul WJ, Murphy LG, Grim SL, Morrison HG, et al. Oligotyping: differentiating between closely related microbial taxa using 16S rRNA gene data. Methods Ecol Evol. 2013;4(12):1111–9.
Callahan BJ, McMurdie PJ, Rosen MJ, Han AW, Johnson AJA, Holmes SP. DADA2: high-resolution sample inference from Illumina amplicon data. Nat Methods. 2016;13(7):581–3.
Amir A, McDonald D, Navas-Molina JA, Kopylova E, Morton JT, Zech XuZ, et al. Deblur rapidly resolves single-nucleotide community sequence patterns. MSystems. 2017;2(2):10–1128.
Callahan BJ, McMurdie PJ, Holmes SP. Exact sequence variants should replace operational taxonomic units in marker-gene data analysis. ISME J. 2017;11(12):2639–43.
Shi P, Zhang A, Li H. Regression analysis for microbiome compositional data. Ann Appl Stat. 2016;10(2):1019–40.
Wadsworth WD, Argiento R, Guindani M, Galloway-Pena J, Shelburne SA, Vannucci M. An integrative Bayesian Dirichlet-multinomial regression model for the analysis of taxonomic abundances in microbiome data. BMC Bioinform. 2017;18(1):1–12.
Zhang X, Yi N. NBZIMM: negative binomial and zero-inflated mixed models, with application to microbiome/metagenomics data analysis. BMC Bioinform. 2020;21(1):1–19.
Okui T. A Bayesian nonparametric topic model for microbiome data using subject attributes. IPSJ Trans Bioinform. 2020;13:1–6.
Koslovsky MD, Hoffman KL, Daniel CR, Vannucci M. A Bayesian model of microbiome data for simultaneous identification of covariate associations and prediction of phenotypic outcomes. Ann Appl Stat. 2020;14(3):1471–92.
Ha MJ, Kim J, Galloway-Peña J, Do KA, Peterson CB. Compositional zero-inflated network estimation for microbiome data. BMC Bioinform. 2020;21(21):1–20.
Ren B, Bacallado S, Favaro S, Vatanen T, Huttenhower C, Trippa L. Bayesian mixed effects models for zero-inflated compositions in microbiome data analysis. Ann Appl Stat. 2020;14(1):494–517.
Jiang S, Xiao G, Koh AY, Kim J, Li Q, Zhan X. A Bayesian zero-inflated negative binomial regression model for the integrative analysis of microbiome data. Biostatistics. 2021;22(3):522–40.
Zhou C, Zhao H, Wang T. Transformation and differential abundance analysis of microbiome data incorporating phylogeny. Bioinformatics. 2021;37(24):4652–60.
Shuler K, Verbanic S, Chen IA, Lee J. A Bayesian nonparametric analysis for zero-inflated multivariate count data with application to microbiome study. J R Stat Soc Ser C Appl Stat. 2021;70(4):961–79.
Osborne N, Peterson CB, Vannucci M. Latent network estimation and variable selection for compositional data via variational EM. J Comput Graph Stat. 2022;31(1):163–75.
Bandoy DDR, Huang BC, Weimer BC. Misclassification of a whole genome sequence reference defined by the human microbiome project: a detrimental carryover effect to microbiome studies. medRxiv. 2019;p. 19000489.
Cao Q, Sun X, Rajesh K, Chalasani N, Gelow K, Katz B, et al. Effects of rare microbiome taxa filtering on statistical analysis. Front Microbiol. 2021;11:607325.
Gloor GB, Macklaim JM, Pawlowsky-Glahn V, Egozcue JJ. Microbiome datasets are compositional and this is not optional. Front Microbiol. 2017;8:2224.
Clausen DS, Willis AD. Evaluating replicability in microbiome data. Biostatistics. 2022;23(4):1099–114.
Pollock J, Glendinning L, Wisedchanwet T, Watson M. The madness of microbiome: Attempting to find consensus “best practice’’ for 16S microbiome studies. Appl Environ Microbiol. 2018;84(7):e02627.
Di Cecco D, Tancredi A. Estimating the number of sequencing errors in microbial diversity studies. Environ Ecol Stat. 2024;31:485–507.
Berry MA, White JD, Davis TW, Jain S, Johengen TH, Dick GJ, et al. Are oligotypes meaningful ecological and phylogenetic units? A case study of Microcystis in freshwater lakes. Front Microbiol. 2017;8:365.
Schloss PD. Amplicon sequence variants artificially split bacterial genomes into separate clusters. Msphere. 2021;6(4):10–1128.
Neelon B. Bayesian zero-inflated negative binomial regression based on Pólya-gamma mixtures. Bayesian Anal. 2019;14(3):829.
Xu L, Paterson AD, Turpin W, Xu W. Assessment and selection of competing models for zero-inflated microbiome data. PloS One. 2015;10(7):e0129606.
Jiang R, Zhan X, Wang T. A flexible zero-inflated poisson-gamma model with application to microbiome sequence count data. J Am Stat Assoc. 2023;118(542):792–804.
Aitchison J, Ho C. The multivariate Poisson-log normal distribution. Biometrika. 1989;76(4):643–53.
Chiquet J, Mariadassou M, Robin S. The poisson-lognormal model as a versatile framework for the joint analysis of species abundances. Front Ecol Evol. 2021;9:188.
Koslovsky MD. A Bayesian zero-inflated Dirichlet-multinomial regression model for multivariate compositional count data. Biometrics. 2023;79(4):3239–51.
Shi P, Zhou Y, Zhang AR. High-dimensional log-error-in-variable regression with applications to microbial compositional data analysis. Biometrika. 2022;109(2):405–20.
Swartz TB, Haitovsky Y, Vexler A, Yang TY. Bayesian identifiability and misclassification in multinomial data. Can J Stat. 2004;32(3):285–302.
Wang S, Wang L, Swartz TB. Inference for misclassified multinomial data with covariates. Can J Stat. 2020;48(4):655–69.
Pérez CJ, Girón FJ, Martín J, Ruiz M, Rojano C. Misclassified multinomial data: a Bayesian approach. RACSAM. 2007;101(1):71–80.
Frénay B, Verleysen M. Classification in the presence of label noise: a survey. IEEE Trans Neural Netw Learn Syst. 2013;25(5):845–69.
Wright WJ, Irvine KM, Almberg ES, Litt AR. Modelling misclassification in multi-species acoustic data when estimating occupancy and relative activity. Methods Ecol Evol. 2020;11(1):71–81.
Spiers AI, Royle JA, Torrens CL, Joseph MB. Estimating species misclassification with occupancy dynamics and encounter rates: a semi-supervised, individual-level approach. Methods Ecol Evol. 2022;13(7):1528–39.
Koslovsky MD, Kaplan A, Terranova VA, Hooten MB. A unified Bayesian framework for modeling measurement error in multinomial data. Bayesian Anal. 2024;1(1):1–31.
Stratton C, Irvine KM, Banner KM, Wright WJ, Lausen C, Rae J. Coupling validation effort with in situ bioacoustic data improves estimating relative activity and occupancy for multiple species with cross-species misclassifications. Methods Ecol Evol. 2022;13(6):1288–303.
Zhu L, Baker SS, Gill C, Liu W, Alkhouri R, Baker RD, et al. Characterization of gut microbiomes in nonalcoholic steatohepatitis (NASH) patients: a connection between endogenous alcohol and NASH. Hepatology. 2013;57(2):601–9.
Wang T, Zhao H. A Dirichlet-tree multinomial regression model for associating dietary nutrients with gut microorganisms. Biometrics. 2017;73(3):792–801.
Chen J, Li H. Variable selection for sparse Dirichlet-multinomial regression with an application to microbiome data analysis. Ann Appl Stat. 2013;7(1):418–42.
Koslovsky MD, Vannucci M. MicroBVS: Dirichlet-tree multinomial regression models with Bayesian variable selection-an R package. BMC Bioinform. 2020;21(1):1–10.
Polson NG, Scott JG, Windle J. Bayesian inference for logistic models using Pólya-Gamma latent variables. J Am Stat Assoc. 2013;108(504):1339–49.
Dai Z, Wong SH, Yu J, Wei Y. Batch effects correction for microbiome data with Dirichlet-multinomial regression. Bioinformatics. 2019;35(5):807–14.
Zhang Y, Zhou H, Zhou J, Sun W. Regression models for multivariate count data. J Comput Graph Stat. 2017;26(1):1–13.
Eddelbuettel D, François R. Rcpp: seamless R and C++ integration. J Stat Softw. 2011;40:1–18.
John GK, Mullin GE. The gut microbiome and obesity. Curr Oncol Rep. 2016;18:1–7.
Liu BN, Liu XT, Liang ZH, Wang JH. Gut microbiota in obesity. World J Gastroenterol. 2021;27(25):3837.
Castaner O, Goday A, Park YM, Lee SH, Magkos F, Shiow SATE, et al. The gut microbiome profile in obesity: a systematic review. Int J Endocrinol. 2018;2018:4095789.
Duvallet C, Gibbons S, Gurry T, Irizarry R, Alm E. MicrobiomeHD: the human gut microbiome in health and disease [Data set]. Zenodo. 2017. https://doiorg.publicaciones.saludcastillayleon.es/10.5281/zenodo.569601.
Duvallet C, Gibbons SM, Gurry T, Irizarry RA, Alm EJ. Meta-analysis of gut microbiome studies identifies disease-specific and shared responses. Nat Commun. 2017;8(1):1784.
Wallen ZD. Comparison study of differential abundance testing methods using two large Parkinson disease gut microbiome datasets derived from 16S amplicon sequencing. BMC Bioinform. 2021;22(1):265.
Aitchison J. The statistical analysis of compositional data. J R Stat Soc Ser B Methodol. 1982;44(2):139–60.
Ozato N, Saito S, Yamaguchi T, Katashima M, Tokuda I, Sawada K, et al. Blautia genus associated with visceral fat accumulation in adults 20–76 years of age. NPJ Biofilms Microbiomes. 2019;5(1):28.
Benítez-Páez A, Gómez del Pugar EM, López-Almela I, Moya-Pérez Á, Codoñer-Franch P, Sanz Y. Depletion of Blautia species in the microbiota of obese children relates to intestinal inflammation and metabolic phenotype worsening. Msystems. 2020;5(2):10–1128.
Duan M, Wang Y, Zhang Q, Zou R, Guo M, Zheng H. Characteristics of gut microbiota in people with obesity. Plos One. 2021;16(8):e0255446.
Chiu CM, Huang WC, Weng SL, Tseng HC, Liang C, Wang WC, et al. Systematic analysis of the association between gut flora and obesity through high-throughput sequencing and bioinformatics approaches. BioMed Res Int. 2014;2014:906168.
Christensen L, Vuholm S, Roager HM, Nielsen DS, Krych L, Kristensen M, et al. Prevotella abundance predicts weight loss success in healthy, overweight adults consuming a whole-grain diet ad libitum: A post hoc analysis of a 6-wk randomized controlled trial. J Nutr. 2019;149(12):2174–81.
Pedone M, Amedei A, Stingo FC. Subject-specific Dirichlet-multinomial regression for multi-district microbiota data analysis. Ann Appl Stat. 2023;17(1):539–59.
Acknowledgements
The author gratefully acknowledges Dr. Duvallet for their help accessing the application data.
Funding
The author graciously acknowledges the support of NSF grant DMS-2245492. The opinions, findings, and conclusions expressed are those of the author and do not necessarily reflect the views of the NSF.
Author information
Authors and Affiliations
Contributions
MDK developed the model and accompanying R package, performed all analyses, and wrote the manuscript.
Corresponding author
Ethics declarations
Ethical approval and consent to participate
Not applicable.
Consent for publication
Not applicable.
Competing interests
Not applicable.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary Information
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
About this article
Cite this article
Koslovsky, M.D. Analyzing microbiome data with taxonomic misclassification using a zero-inflated Dirichlet-multinomial model. BMC Bioinformatics 26, 69 (2025). https://doiorg.publicaciones.saludcastillayleon.es/10.1186/s12859-025-06078-4
Received:
Accepted:
Published:
DOI: https://doiorg.publicaciones.saludcastillayleon.es/10.1186/s12859-025-06078-4