ABSTRACT
Microbiome compositional data are often high‐dimensional, sparse, and exhibit pervasive cross‐sample heterogeneity. We introduce the “logistic‐tree normal” (LTN) model, a generative model that allows flexible covariance among the microbiome taxa, enables scalable computation, and effectively captures other key characteristics of microbiome compositional data such as the abundance of zeros. LTN incorporates a tree‐based decomposition for effective aggregation over sparse taxa counts and models the relative abundance at the tree splits jointly using a (multivariate) logistic‐normal distribution. The latent Gaussian structure allows a wide range of multivariate analysis and modeling tools for high‐dimensional data—such as those enforcing sparsity or low‐rank assumptions on the covariance structure—to be readily incorporated. As a general‐purpose, fully generative model, LTN can be applied in a wide range of contexts, while at the same time, efficient computational recipes for Bayesian inference under LTN are available through conjugate blocked Gibbs sampling enabled by pólya‐gamma augmentation. We demonstrate the use of LTN in a compositional mixed‐effects model for differential abundance analysis through both numerical experiments and a reanalysis of the infant cohort in the DIABIMMUNE study. We explain and showcase through numerical experiments and the case study how LTN, through adequately accounting for the cross‐sample heterogeneity, is capable of generating the appropriate proportion of zeros without incurring an explicit zero‐inflation component. This confirms a recent viewpoint that “zero‐inflation” in count‐based sequencing data are often results of unaccounted cross‐sample variation.
Keywords: Bayesian inference, compositional data, differential abundance, generative models, phylogenetic tree
1. Introduction
The human microbiome is the collection of genetic information from all microbes residing on or within the human body. The development of high‐throughput sequencing technologies has enabled profiling the microbiome taxa composition in a cost‐efficient way through either shotgun metagenomic sequencing or amplicon sequencing on target genes (e.g., the 16S rRNA gene). The resulting data are usually a compositional count vector for each sample with the total count of the identified microbes in each sample determined by the sequencing depth of the study and shall only be interpreted proportionally [1].
A unified approach to both supervised and unsupervised analysis of microbiome compositional data is through building generative models, which allows direct incorporation of key features of such data, including the count nature, the compositionality, the abundance of zeros, as well as the complex cross‐sample heterogeneity. A generative model for i.i.d. or exchangeable samples of microbiome compositions can serve as building blocks for more sophisticated statistical models to accommodate additional features of the data. This approach has been fruitfully taken by many for both differential abundance analysis [2, 3, 4, 5, 6, 7] and exploratory analysis [8, 9, 10, 11, 12, 13, 14, 15]. Most of these prior works have given specific attention to the need for accommodating the compositionality and the prevalence of zeros in microbiome data—with a variety of different approaches proposed such as modeling zero‐inflation directly [7, 16, 17] as well as using tree‐based aggregation to accommodate sparsity [18, 19, 20]. With some notable exceptions [21, 22], however, these methods generally adopt restrictive assumptions on the underlying cross‐sample variation and often do so implicitly without warning the practitioner who applies them of such constraints. Some recent works have found that the resulting downstream analysis can be sensitive to these implicit assumptions in both differential abundance [22] and exploratory analyses [12, 23, 24].
Two popular classes of generative models for microbiome compositions are the log‐ratio normal (LN) model [25] and the Dirichlet‐multinomial (DM) model [4, 10]. The LN model can capture rich cross‐sample covariance structure among the OTUs; however, when LN is adopted to model the unobserved relative abundance that gives rise to the observed count vectors, inference is computationally challenging if the number of OTUs is even just moderate () due to lack of conjugacy to the multinomial sampling model that is commonly employed to capture the count nature of microbiome compositional data. Consequently, in practice LN is most frequently applied to model the actual observed proportion of counts (i.e., the counts on the OTUs divided by the total sum of counts for each sample), essentially ignoring the count nature of the sequencing reads.
The DM model, on the other hand, maintains the multinomial sampling model on the counts but instead adopts a Dirichlet distribution on the underlying unobserved relative abundance vector. Dirichlet is conjugate to the multinomial sampling model, and therefore DM is computationally efficient; however, the induced covariance structure under Dirichlet is characterized by a single scalar parameter (which is the sum of the Dirichlet pseudo‐count parameters), and thus is too restrictive for characterizing the cross‐sample variability in typical microbiome compositions. A more recent generalization of the DM model, called the Dirichlet‐tree multinomial (DTM) model [26, 27] which utilizes an underlying tree structure relating the taxa—usually a phylogenetic tree or a taxonomic tree—lessens this limitation, but only slightly. Its cross‐sample covariance, though more relaxed than that of the Dirichlet, is still very restrictive as it only uses parameters to characterize a covariance structure where is the total number of taxa. Moreover, the appropriateness of the covariance structure imposed by DTM relies heavily on the extent to which the imposed tree structure (such as the phylogenetic tree) accurately reflects the functional relationship among the taxa in the given context, making the resulting inference particularly sensitive to the specification of the tree, which is a major concern in adopting tree‐based methods for microbiome compositions [28, 29].
To address these challenges, we propose a new generative model called “logistic‐tree normal” (LTN) that combines the key features of DTM and LN models to inherit their respective desired properties. LTN utilizes the tree‐based decomposition of multinomial sampling model as DTM, which takes advantage of tree‐aggregation of sparse counts [18, 19, 27, 30], but unlike DTM, it employs a latent multivariate LN distribution on the tree splitting probabilities with a general covariance structure. This more flexible covariance structure makes the resulting inference substantially more robust than DTM with respect to the choice of the tree. At the same time, by utilizing a tree‐based binomial decomposition of the multinomial model, LTN restores the full conjugacy with the assistance of pólya‐gamma (PG) data augmentation [31], allowing Gibbs sampling and thereby avoiding the computational difficulty incurred by LN‐based models.
The fully probabilistic, generative nature of LTN allows it to be either used as a standalone model or embedded into more sophisticated models to accomplish both supervised and unsupervised goals. The latent multivariate Gaussian formulation allows common modeling and computational techniques for high‐dimensional data, such as those based on sparsity and low‐rank assumptions on the covariance structure imposed by various types of regularization, to be readily incorporated into LTN while maintaining the computational ease for typical microbiome analysis data sizes ( s of taxa and hundreds to thousands of samples).
The rest of the paper is organized as follows. Section 2 introduces LTN after briefly reviewing LN and DTM, examines its distributional properties including its ability to generate sparse data, and presents an LTN‐based mixed‐effects model tailored for differential abundance analysis. In Section 3, we investigate the performance of the proposed method for differential abundance analysis with several numerical experiments and compare it to two state‐of‐the‐art methods. In Section 4 we carry out a case study on the T1D cohort from the DIABIMMUNE study [32]. In Section 5 we conclude with some discussion.
2. Methods
2.1. Structure of Microbiome Compositional Count Data
Various bioinformatic preprocessing pipelines such as MetaPhLAN [33] and DADA2 [34] have been developed to “count” the microbes in each sample and report the results in terms of amplicon sequence variant (ASV) or operational taxonomic unit (OTU) abundance. Both OTU and ASV can serve as the unit for the downstream analysis of microbial compositions and in recent years the ASV has become the standard approach for a number of reasons. However, following the broader tradition in microbial studies, throughout the rest of the paper we shall use the more classic term “OTU” to refer to either of them.
A typical microbiome dataset consists of an OTU (count) table with being the number of samples and the number of identified OTUs usually after some quality control screening, a taxonomic table summarizing the taxonomic identification of the identified OTUs to known or unknown taxa at multiple taxonomic levels, as well as possibly a set of covariates on the samples measured by medical monitoring, questionnaires or other means. One can usually also construct a summary of the evolutionary relationship of OTUs in the study in the form of a phylogenetic or taxonomic tree. See [1] for additional details and examples.
Some common characteristics of microbiome compositional data that need to be accounted for in the modeling and analysis of such data include (i) high‐dimensionality—large , (ii) sparsity—many counts in the OTU table are zeros, and (iii) pervasive cross‐sample heterogeneity—the OTU count vectors usually display large variability across the samples and involve complex covariance among the OTUs. We note that the sparsity in microbiome data can come in two forms: (1) within‐sample sparsity—each microbiome count sample have non‐zero counts in a small proportion of identified OTUs, and (2) within‐OTU sparsity—most OTUs are observed in only a small number of samples. These two types of sparsity are usually both present in microbiome datasets. While the key motivation for our proposed method is in the high‐dimensionality and the complex cross‐sample covariance, we will provide examples in our later numerical experiments and case study to show how our proposed model effectively accounts for both types of sparsity.
2.2. Two Popular Generative Models for Microbiome Compositional Data
We will first briefly review two most widely used classes of generative models for OTU counts, namely LN and DM models. They inspire our new model to be introduced later. We start by introducing some basic notation that will be used throughout the paper. Suppose there are samples and a total of OTUs, denoted by . The OTU table is an matrix, whose th row represents the OTU counts in sample and the th element represents the count of OTU in that sample. Let be a rooted full binary phylogenetic tree over the OTUs, where denote the set of interior nodes, leaves, and edges respectively. Formally, we can represent each node in the phylogenetic tree by the set of its descendant OTUs. Specifically, for a leaf node , which by definition contains only a single OTU , we let . Then the interior nodes can be defined iteratively from leaf to root. That is, for with two children nodes and , we simply have . Figure 1 shows an example of a node containing four OTUs, .
FIGURE 1.

An example of a phylogenetic tree over four OTUs. (a) Notation for nodes. (b) Tree‐based transform from to .
Suppose is the OTU counts for a sample, and is the total number of OTU counts. A natural sampling model for the OTU counts given the total count is the multinomial model
| (1) |
where is the underlying OTU (relative) abundance vector, which lies in a ‐simplex. That is, . The simplicial constraint on relative abundances can present modeling inconveniences, and a traditional strategy is to apply a so‐called log‐ratio transformation to map the relative abundance vector into a Euclidean space [25].
Three most popular choices of the log‐ratio transform are the additive log‐ratio (alr), centered log‐ratio (clr) [25] and isometric log‐ratio (ilr) [35, 36], all of which have been applied to microbiome compositional data in the literature. For a composition , the clr and alr transforms are given by
where and is the geometric mean of . The ilr transform, on the other hand, uses a binary partition tree structure to define the log‐ratios, and it turns into “balances” associated with the interior nodes of the tree. The balance associated with an interior node of the tree is defined as
where and are the number of OTUs in the left and right subtree of node respectively, and and ) are the corresponding geometric means of the probability compositions of leaves in the left and right subtrees of node . While in many applications finding a suitable binary tree for the ilr might not be easy, in the microbiome context, a phylogenetic tree or a taxonomic is a common choice [37].
LN models posit that the log‐ratios computed from these transforms are multivariate Gaussian. These models have been successfully used in characterizing microbial dynamics [38, 39] and linking covariates with microbiome compositions [21, 40]. Inference using the LN models can incur prohibitive computational challenges when the number of OTUs grow due to the lack of conjugacy between the multinomial likelihood and multivariate normal, and recent efforts have been made to overcome this computational challenge through approximate computation. Interested readers can find a detailed discussion on the computational challenges incurred by LN and possible approaches to cope with them in [41].
Dirichlet models are another classical model for the compositional vector that is conjugate to the multinomial sampling model. For this reason they are often referred to as DM models in the microbiome modeling literature [4, 10]. DM models are computationally more efficient than LN, and are also capable of generating very sparse count vectors. However, this model class affords only a single scalar parameter, which is the sum of the Dirichlet pseudo‐count parameters, to characterize the covariance structure among the OTUs, essentially assuming that all OTUs are mutually independent modulo the artificial dependence caused by the compositional constraint . This is clearly too restrictive for typical microbiome datasets where taxa exhibit complex covariance structures [11, 42, 43, 44]. DTM models [26] have been introduced to alleviate this limitation of the Dirichlet while maintaining its computational tractability. Given a dyadic tree over the OTUs, for example, a phylogenetic or taxonomic tree, DTM utilizes the fact that multinomial sampling is equivalent to sequential binomial sampling down a binary partition. Specifically, the multinomial sampling model in Equation (1) is equivalent (in the sense that the likelihood function is identical up to a normalizing constant) to independent binomial sampling models defined on the interior nodes of . That is,
where is the total counts from OTUs in the subtree rooted at and is relative abundance of the left subtree of with respective to . See Figure 1b for an illustration.
Under this perspective, the relative abundance vector is now represented using the collection of binomial “branching” probabilities for all , the interior nodes of the tree. DTM adopts a beta model for each to attain conjugacy with respect to the binomial likelihood. That is,
where specifies the mean of the branching probabilities, and is the concentration parameter that controls the variance for any given mean. Tree‐based aggregation has been employed in several different approaches to analyze microbiome data, usually by using the phylogenetic or taxonomic trees due to their ready availability. Some examples include the ilr‐based LN approach mentioned above, as well as a number of other non‐generative tree‐aggregation approaches [18, 19, 30, 45, 46, 47]. A distinct feature in DTM differentiates it from all of the other tree‐based methods including the ilr‐based LN model. It is the fact that DTM not only employs a tree‐based transform of the compositional abundance vector as the ilr does, but it also decomposes the sampling model (i.e., the multinomial likelihood) into binomial models, which is key to achieving its computational tractability through the beta‐binomial conjugacy.
Nevertheless, DTM does not satisfactorily resolve the limitation of DM in terms of cross‐sample variation. To see this, note that the parameters 's are the only ones that characterize the covariance across the OTUs. In fact, DTM still assumes mutual independence among 's and so there are a total of only scalar parameters, which along with the underlying phylogenetic tree characterize the covariance among the OTUs. This also makes inference with DTM particularly sensitive to the phylogenetic tree. In contrast, LN models, including the tree‐based ilr models, allow flexible specification of the covariance structure. This allows ilr to be less sensitive to misspecification of the dyadic tree.
Moreover, even though DTM is fully generative, it is actually not easy to embed DTM into more sophisticated hierarchical models. This is because there is no known (hyper)prior for beta distributions, and so DTM will incur computational challenges should there be additional modeling components, such as covariate effects on its mean and priors on the unknown concentration parameters. Those features will also break the conjugacy resulting in the need for numerical integration [12, 48].
2.3. LTN Models
We introduce a generative model that combines the tree‐based factorization of the multinomial sampling model under DTM with the log‐ratio transform under LN, thereby enjoying key benefits of both models while addressing all of their aforementioned limitations. In particular, our model achieves both flexibility in characterizing taxa covariance and computational tractability, while maintaining the ability to accommodate sparsity. Specifically, we adopt a log‐ratio transform (in this case simply a logistic transform) on the binomial branching probability on each interior node [49]. That is, we model the log‐odds on the interior nodes
jointly as a multivariate Gaussian.
More formally, for a compositional probability vector , we define the tree‐based log‐ratio (tlr) transform as , where . Like other log‐ratio transforms, tlr maps a compositional vector to a vector of log‐odds . Finally, modeling the tlr as MVN, we have the full formulation of a LTN model:
| (2) |
We denote this model by LTN. A graphical model representation of the LTN model for a dataset with exchangeable samples indexed by is shown in Figure 2a.
FIGURE 2.

A graphical model representation of LTN for exchangeable samples. (a) original model, (b) with Pólya‐Gamma augmentation: is introduced to restore conjugacy.
At first glance, while LTN affords flexible mean and covariance structures, it suffers from the same lack of conjugacy as existing LN models based on log‐ratio transforms such as alr, clr, and ilr. Fortunately, the binomial decomposition of the likelihood under LTN allows a data‐augmentation technique called PG augmentation [31] to restore the conjugacy. In fact, this data‐augmentation strategy ensures full conjugacy for LTN models even with additional modeling hierarchy such as covariates and multiple variance components, provided that one adopts any conjugate (hyper)priors on the Gaussian parameters , making LTN substantially more versatile and computationally tractable than DTM. A graphical model representation of LTN with PG augmentation for a dataset of exchangeable samples is shown in Figure 2b. Details of the PG augmentation for LTN are provided in Supporting Information Section A.1.
2.4. Distributional Properties of LTN and the Generation of Zeros
Before we consider applications of LTN to inference tasks, we first examine two important distributional properties of LTN relevant to its ability to accommodate common features of microbiome compositional data. In particular, while the design of LTN is aimed at enriching the taxa covariance and maintaining scalability with respect to dimensionality, two important questions remain—(i) how capable are LTN in generating sparse data—displaying both within‐OTU and within‐sample sparsity; and (ii) how sensitive is the resulting analysis with respect to the choice of the dyadic tree? We provide some reasoning here and will revisit these considerations later in our numerical experiments and the case study to corroborate our argument with empirical evidence.
Characterizing abundance of zeros: A key feature of microbiome compositional data is the vast numbers of zero counts typically observed when the data are presented at deep taxonomic levels. The insufficiency of standard generative models for count‐valued data to accommodate such pervasive sparsity has been noted in the literature and many recent developments focus on incorporating a zero‐inflation component to accommodate this aspect of the data [7, 16, 17]. We acknowledge the importance of accommodating zeros in the data, but share with some others [50, 51] the concern that an artificial zero‐inflated component in the generative model, except under the scenario that it is justified by either the specific biological mechanism or experimental protocol, can distort the identifiability and interpretability of the actual meaning of the “non‐zero” component in such models, leading to bias in the downstream inference. Hence we would, except in some special cases, refrain from introducing an explicit zero‐inflation component into LTN‐based models, even though they are not technically difficult to construct.
Next we argue that the design of LTN allows the generation of highly sparse counts without an explicit zero‐inflation component, and the reasons are different for within‐OTU and within‐sample sparsity. First, we note that within‐OTU sparsity—that is, a large proportion of samples have zero counts for an OTU—arises when the actual relative abundance of that OTU is low over the majority of samples. This scenario can be readily captured under LTN when a sub‐branch of the tree that contains the OTU under consideration has a small branching probability. Specifically, within‐OTU sparsity can therefore arise when the mean parameter is large (in absolute value) on any ancestral node of the OTU of interest. On the other hand, within‐sample sparsity—that is, a sample of count vector has many zeros and the OTUs with zero counts vary wildly across samples—arises for a different reason. They arise due to very large cross‐sample variability which can be readily induced by large marginal variance of the log‐odds, , on the interior nodes . It is important to note that LTN can therefore accommodate both the within‐OTU and within‐sample sparsity without changing the underlying correlation structure among the taxa, which is critical in ensuring the identifiability of the resulting taxa correlation.
While more extensive numerical evidence will be provided later in our simulation and case study sections, here we provide a simple numerical example to demonstrate the effect of changing the mean and variance of the log‐odds on the interior nodes under LTN and their impact on the within‐OTU and within‐sample sparsity to support the argument above. We generate samples from a simple LTN model whose parameters and are estimates from the DIABIUMME data (to be described later) [32] under a simplified model that assumes all samples are exchangeable. We then modify the values of and by applying different scaling to and , thereby adjusting the absolute values of and the marginal variance of the 's which respectively leads to different levels of within‐OTU and within‐sample sparsity as presented in Figure 3. This simulation is simplistic and only serves the purpose of demonstrating the general ability for LTN to generate within‐OTU and within‐sample sparsity. We will examine the goodness‐of‐fit of the LTN model to the zero patterns observed in the DIABIMMUNE study at a per‐sample level when we construct a more sophisticated LTN‐based mixed‐effects model tailored for the actual study design of the DIABIMMUNE project in our case study. (See Figure 16.)
FIGURE 3.

Proportion of zeros by OTU (top) and by sample (bottom). Top: Samples are generated from LTN() with fixed mean and correlation and varying marginal variance. Bottom: Samples are generated from LTN( with fixed covariance and varying mean. The baseline parameter values and are the estimated and partial correlation matrix from an individual in the DIABIMMUNE data. The phenomenon holds generally and is not unique to the particular individual.
FIGURE 16.

Posterior predictive intervals for proportions of zeros by OTU (a) and by sample (b). (a) Proportion of zeros per OTU (observed vs. posterior predictive). The bars represent 95% posterior predictive intervals of the proportion of zeros per OTU (calculated based on 500 posterior predictive samples). (b) Proportion of zeros per sample (observed vs. posterior predictive). The bars represent 95% posterior predictive intervals of the proportion of zeros per sample (calculated based on 500 posterior predictive samples).
Robustness to the choice of the tree: The phylogenetic and taxonomic trees are generally available for microbiome data as they are constructed from the genetic sequencing reads, but using them out of convenience in the modeling or analysis of microbiome compositions raises some natural concerns. After all, algorithmically reconstructed evolutionary trees may not necessarily be good proxies to the functional relationship of the OTUs in a given context. This can happen in two ways. First, the evolutionary relationships of the taxa, even if reconstructed perfectly, may not correspond well to their functional relationships. For example, due to selective pressure, OTUs that are far from each other evolutionarily may actually be functionally similar or closely related. Ideally, a functional tree tailored for a given phenotype of interest should be constructed and used for modeling and analysis, but this is usually difficult in most applications. Second, even in cases when the evolutionary relationship among the OTUs does approximate their functional relationship closely, there is often substantial uncertainty in the reconstruction of the underlying evolutionary tree based on sequencing reads, and different bioinformatic algorithms for tree construction can often result in trees that are different in non‐trivial ways.
Therefore an important question for all tree‐based approaches to analyzing microbiome data is—what if the chosen tree provides a poor characterization of the functional relationship of the taxa in the given dataset? In constructing and applying such methods, the sensitivity with respect to the choice of the tree should be examined. Here we first provide some conceptual reasoning of the improved robustness of LTN, compared to other tree‐based methods such as DTM, with respect to the tree, after which we will provide numerical evidence to support the reasoning.
The choice of the tree structure could potentially affect the downstream inference under a tree‐based model through inflated uncertainty and/or inflated bias. First, note that the choice of the tree leads to different parametrization of the multinomial mean . An effective re‐parametrization of into the log‐odds should ideally involve a small number of with large “structural variability.” (Here “structural variability” corresponds to the variation of interest, such as the cross‐group difference in differential abundance analysis and the cross‐cluster difference in clustering.) One might conjecture that in practice LTN exhibits properties analogous to the “energy concentration” phenomenon observed in other tree‐based transforms such as Haar wavelets. To understand this, consider the following idealistic scenario in which two taxa (which can be any taxonomic level) are functionally identical and therefore vary together with perfect correlation. In that case, a tree that places them as siblings of a shared parent node will have the same splitting probabilities at the parent node across all samples. In particular, if one is interested in carrying out a differential abundance analysis across two conditions then there would be no differential splitting at that parent tree node. At the same time, the signal‐to‐noise ratio for differential splitting at the grandparent node of two taxa will be large due to the tree‐based aggregation that combines the counts of the two relevant taxa into a single branch, achieving “energy concentration” in very much the same way as Haar wavelet transforms. This example illustrates how, when taxa are functionally similar, the tree structure can concentrate statistical signal at higher‐level nodes rather than dispersing it across many individual taxa. The tree that most effectively characterizes the functional similarity would then perfectly split such functionally identical taxa into siblings without first breaking apart either into smaller sub‐taxa, which leads to “energy dilution.” In reality, the adopted phylogenetic or taxonomic tree will never be such a perfect functional tree and there are also no such perfectly correlated taxa. Poor choices of the tree, on the other hand, would do the opposite, causing pervasive “energy dilution” by dispersing the counts of OTUs that are functionally similar over many different splits of the tree and therefore causing a loss of statistical sensitivity. In the context of Bayesian inference, this generally demonstrates itself in terms of larger posterior uncertainty, whereas from a sampling perspective, increased variance in the decision rules.
In the context of Bayesian inference, this generally demonstrates itself in terms of larger posterior uncertainty, whereas from a sampling perspective, increased variance in the decision rules.
Now let us turn to the second issue of inflated bias, which we argue that LTN is generally robust against while some existing tree‐based models such as DTM suffer significantly. Misspecified trees can introduce substantial bias into the resulting inference if it injects strong and unreasonable constraints on the underlying mean and covariance of the taxa distribution. This is true in the case of DTM as it assumes that the tree splitting probabilities are essentially mutually independent, aside from the compositionality constraint. In other words, such mutual independence will only occur in practice when the phylogenetic tree essentially is a perfect tree that characterizes the functional relationship so that the correlation between any two taxa is exactly described by their distance in the tree, which in almost all cases is biologically implausible.
In contrast, LTN does not constrain the underlying covariance structure based on the tree (though such constraint could be incorporated through priors on the covariance). Therefore LTN supports all possible covariance even when the tree structure is misspecified. A poor choice of the tree in LTN would generally still lead to a loss of efficiency (increased posterior uncertainty and standard errors) but generally not large bias (unless of course the prior specification on LTN imposes strong constraints based on the tree).
We carry out a somewhat simplistic simulation experiment to demonstrate these points and report the details in Supporting Information Section C. Specifically, we generate LTN data from a given tree, but estimate the induced mean and covariance of the OTUs using severely misspecified tree. We then examine the resulting inference on the mean and covariance of the log‐odds under correctly and misspecified trees. Our sensitivity analyses show that the inference of the mean and covariance structure based on LTN with misspecified trees is generally robust even when the tree is grossly misspecified.
We will provide additional evidence for the robustness of LTN with respect to tree misspecification under the context of differential abundance analysis in our simulations studies reported in Section 3.2, in which we generate synthetic associations between the taxa and an outcome of interest without regard to the underlying tree structure adopted by LTN, and yet LTN leads to competitive performance in identifying the differential abundance.
3. Application in Differential Abundance Analysis
3.1. A Mixed‐Effects Regression Model for Microbiome Compositions
So far, we have focused on the sampling properties of LTN as a general‐purpose generative model for microbiome compositional counts. Next we turn to its application in practice. While in principle LTN can serve as a prior for a single compositional abundance vector, we believe that in most applications, such as a typical microbiome study, one would employ LTN as the sampling model for multiple samples of abundance vectors and so this will be the focus of our following exposition. Aside from the computational considerations, inference with LTN can in principle proceed from either a Bayesian or a non‐Bayesian strategy (through for example maximum likelihood estimation) on learning the parameters and . Here we shall focus on the Bayesian approach by constructing hierarchical models that adopt LTN as a sampling module for (conditionally) exchangeable microbiome compositional samples.
There are myriad ways in which one might construct such hierarchical models. We illustrate through constructing a mixed‐effects model given the broad applicability of such models in microbiome studies and focus on the common task of detecting differential abundance of microbial taxa across two conditions (e.g., cases versus controls etc.). Mixed‐effects models [21, 22] can readily incorporate common design features such as covariates, batch effects, multiple time points, and replicates at different levels. We consider a common study design where a dataset involves samples that can be categorized into two contrasting groups (e.g., case vs. control, treatment vs. placebo, etc.), and the practitioner is interested in testing whether there is cross‐group difference in microbiome compositions. For each microbiome composition sample , let be the group indicator and a ‐vector of covariates.
We consider random effects that involve measured subgrouping structure (e.g., individuals). Specifically, we assume that there is a random effect for each sample associated with an observed grouping . For example, in longitudinal studies, can represent the individual from which the th sample is collected. We associate the covariates and random effects with the microbiome composition through the following linear model:
| (3) |
where represents the potential cross‐group differences, is a matrix of unknown fixed effect coefficients of the covariates, is the random effect from individual , which we model exchangeably as for .
Regarding the remaining “noise” , it characterizes the additional variability in the microbiome composition beyond the measured covariates. A simple choice is to assume independent noise over the tree nodes , and one can adopt inverse‐Gamma prior on . One may question the independent noise assumption as additional perturbations in the microbiome usually also involve OTU correlation. In adopting independent noise over the tree nodes, we are making the simplifying assumption that all remaining OTU covariance is captured under the phylogenetic tree structure. One can further relax this assumption by incorporating a more flexible OTU covariance in . One strategy is to adopt a latent factor model that assumes makes a low‐rank assumption on the noise covariance. This can in fact also be readily accommodated by modifying the model in (3) to the following
| (4) |
where represents the latent factors for sample with being the corresponding loadings. Additional modeling could be employed to accommmodate the spatial‐temporal patterns in the observations by modeling the latent factors using a spatial‐temporal process. For expositional simplicity we do not further discuss the details of this latent factor model.
A remaining part of the model needs to be specified is the prior on the covariance matrix . When the number of OTUs is large, proper regularization contraints must be enforced to ensure the model is still identifiable and can be reliably inferred. Existing approaches generally enforce either low‐rank assumptions or sparsity on the covariance or its inverse, the precision matrix. A popular prior on the precision matrix is to enforce some shrinkage toward a sparse structure. Well‐known examples of such models on Gaussian graph include the graphical‐Lasso (gLasso) [52] and the graphical horseshoe (gHS) [53] priors. Both of these models can be readily employed under LTN. For illustration, in our following numerical examples, we adopt the gLasso prior on , which takes the form
where DE is the double exponential density function which essentially imposes an regularization, EXP is the exponential density function, is the space of positive definite matrices, and is the normalizing constant that does not involve or . Posterior sampling on this model can be conducted using a blocked Gibbs sampling scheme proposed in [52]. With the PG augmentation, all parts of the model can be drawn from conjugate full conditionals. The details of the sampler are provided in Supporting Information Section A.2.
We note that the sparse or shrinkage priors such as gLasso and gHS are but one of many choices that one can adopt. A natural alternative is again latent factor models that impose low‐rank constraints on the covariance matrix, which can also be readily incorporated here without complicating the inference algorithms. We choose the gLasso prior for two reasons. First, while sparse inverse covariance estimation has been applied to microbiome network inference using non‐generative methods such as SPIEC‐EASI [54], Bayesian sparsity‐inducing priors within a fully generative microbiome model remain less explored. The generative nature of LTN allows the gLasso prior to be naturally integrated into a hierarchical Bayesian modeling framework, enabling joint inference with covariates, random effects, and other modeling components. Second and more importantly, given the analogy of the tree‐based decomposition into binomial experiments to that of Haar wavelet transforms, one may naturally expect a similar “whitening effects” of the decomposition as commonly observed in wavelet transforms on correlated Gaussian observations by which the (conditional) dependence of the “wavelet coefficients,” here the log‐odds , are weakened resulting in a sparse precision matrix. Differential abundance analysis usually involves hypothesis testing on the two‐group difference and identifying the differentially abundant taxa. Under the above model, this can be accomplished through testing a collection of hypotheses on the interior nodes:
To perform these local tests, we adopt a Bayesian variable selection strategy and place the following spike‐and‐slab priors on entries of :
where is point mass at zero, and are pre‐specified hyperparameters. In particular, controls the prior marginal probability for the alternative on node , and therefore it plays a critical role in controlling for multiple testing. There are generally two approaches in choosing , either by directly setting , which corresponds to the prior expected proportion of nodes on which the alternative is true, or by setting so that the induced prior probability for the global null (and alternative) at a desired level. The first approach is less stringent and is more suitable when one desires to identify taxa that are differentially abundant while controlling false discovery rate (FDR). The second is more suited when the goal is to test for the global null. We adopt continuous priors on the coefficients of the covariates: .
Now that we have fully specified our model, we turn to the decision‐theoretic recipe for identifying differential abundance. After the Gibbs sampling generates a sample from the posterior, we can then compute an MCMC estimate of Pr, which is called the posterior marginal alternative probability (PMAP) for each , and Pr, called the posterior joint alternative probability (PJAP). One can then use as a decision rule when PJAP is larger than some threshold to reject the global null hypothesis that no difference at all exists in any microbial taxa between the two groups. The PMAPs, on the other hand, can be used to decide what microbial taxa are called to be significantly different across groups. The PMAPs and the PJAP can all be directly estimated from the posterior samples of .
3.2. Numerical Experiments
3.2.1. Differential Abundance Analysis
Before the case study we carry out simulation experiments whose underlying signals are known to assess the behavior of the LTN‐based mixed‐effects model and compare its performance to other popular methods for differential abundance analysis. To avoid specifying the actual generative mechanisms of the microbiome compositions, we generate synthetic data by injecting signals into the 16S rRNA sequencing data of T1D cohort of DIABIMMUNE project [32], which collects longitudinal microbiome samples from infants from Finland and Estonia. The full dataset contains counts of 2240 OTUs of 777 samples from 33 subjects. There are 25 subjects that have more than 20 samples, seven subjects whose number of samples is in , and only one subject that has less than 10 samples. For illustration, we focus on the 100 OTUs with the highest relative abundance. The phylogenetic tree of the 100 OTUs is used in our LTN‐based mixed‐effects model.
We vary the following a triplet parameters that controls the simulation setting—namely, the sample size , the effect size per OTU , and the number of differentially abundant OTUs . Specifically, for each combination of , in a single simulation run, synthetic datasets are generated as follows. For each of the 33 subjects in the DIABIMMUNE cohort, we randomly sample (without replacement) samples for that subject. If there are less than samples for that subject in the dataset, we just draw all of the available samples for that subject. A null dataset is created by randomly dividing the samples into two equal‐sized groups, namely, Groups 0 and 1. An alternative dataset is generated by randomly choosing OTUs (without replacement) from the 20 OTUs with highest average relative abundance and multiplying the counts of these OTUs in Group 1 by . For each combination , 500 datasets for the null and for the alternative, respectively.
We consider and . and correspond to cross‐group differences at single and multiple OTUs, respectively. The single OTU association case () is the most favorable scenario to single OTU scanning approaches such as MaAsLin2 [55] and least favorable to methods that jointly model all taxa such as LTN. We expect many common outcomes of interest, especially complex phenotypes, such as the seroconversion status in our case study to be associated with multiple OTUs simultaneously, which we imitate using the case. For each combination of , we examine the performance of the three methods under weak, medium and strong signal specified in Table 1.
TABLE 1.
The specification of signal strength under single and multi‐OTU associations.
| Weak | Medium | Strong | ||||
|---|---|---|---|---|---|---|
| (single OTU) |
|
|
|
|||
| (multiple OTUs) |
|
|
|
It is worth emphasizing that throughout our experiments the associated single or multiple OTUs are all randomly selected without regard to the underlying tree structure, and therefore the phylogenetic tree is irrelevant to the underlying outcome of interest, corresponding to the case that the underlying dyadic tree is grossly misspecified. As such the numerical results provides conservative estimates of the performance of LTN and gives evidence on the robustness of our LTN‐based model with respect to tree misspecification.
We compare the performance of our LTN‐based mixed‐effects model in testing the existence of cross‐group differences with that of MaAsLin2 [55] and that of DirFactor [22]. MaAsLin2 tests the differential abundance one OTU at a time, whereas similar to our approach, DirFactor is based on a joint model of the OTU composition, but does not allow the identification of invidual OTUs that are differentially abundant. We apply all three methods on the same simulated datasets to test the existence of difference in microbiome compositions between the two groups, adjusting for country, age at collection and case/control status of the samples and incorporating subject‐level random effects.
The performance of our model, DirFactor and MaAsLin2 are evaluated based on the ROC curves (Figure 4) for testing the existence of differences in microbiome compositions between the two groups. As defined in Section 3.1, the (global) test statistic of our model is the posterior joint alternative probability (PJAP). For MaAsLin2, we use the smallest Benjamini–Hochberg (BH) qvalues of the associations between the group label (0/1) and the OTUs as the test statistic, and for DirFactor, we use the norm of the coefficient of group label the test statistic as suggested in [22].
FIGURE 4.

ROC curves by the signal level. MaAsLin2 is fitted with the R package Maaslin2 with default parameters, and DirFactor is fitted with the code provided at https://github.com/boyuren158/DirFactor‐fix. The ROC curves were produced using the ROCR package in R [56]. (a) Cross‐group differences exist at a single OTU. (b) Cross‐group differences exist at eight OTUs.
The performance of our method is robust for both and 8. The scenario is most favorable to single‐OTU methods such as MaAsLin2, which yields the best ROC curves generally as one would expect. Even in this case, our fully multivariate LTN‐based mixed‐effects model achieves comparable ROC with sufficient sample size () and outperforms DirFactor, which is also a multivariate approach. When cross‐group difference occur at multiple OTUs (), jointly modeling the abundance, as in our method and DirFactor, greatly improves the power over single‐OTU testing, and our method outperforms both competitors across all signal levels.
In addition, we have observed in our simulation settings that the univariate approach MaAsLin2 did not appear to properly control the FDR under the multi‐OTU scenario using BH multiplicity adjustment in the sense that the actual empirical FDR can have very high variance. To see this, Figure 5 presents the empirical FDR (at a targeted FDR of 5%) over the simulation runs, and for , the FDR can sometimes be substantially higher than the target value of 5%. In fact, for , more than 10% of the times, the FDR can be even higher than 50%, a ten‐time inflation of the nominal target FDR. This may later explain the large number of associated OTUs we report later in the case study when applying MaAsLin2.
FIGURE 5.

Histogram of the observed FDR for MaAsLin2 in the simulation runs with a target FDR 0.05 for and , respectively. For in particular, about 20% of the times the actual FDR was over 0.2 while the normal level is set at 0.05.
3.2.2. Covariance Estimation
Simulation settings:
We simulate datasets with samples and OTUs, where the OTU counts are generated from both LN and DTM models using the phylogenetic tree from the DIABIMMUNE data [32]. The simulation setup is described as follows:
-
LN: The OTU counts are from the following model:
where is the inverse of the ilr transform based on the phylogenetic tree [37]. The components of are independent samples from N.We adopt three models–Hub, Block, and Sparse for , which are considered by [42] as plausible covariance models for microbiome compositions.
Hub: The 100 OTUs are randomly divided into three hubs and 97 non‐hub points, where . Each non‐zero entry is set to 0.3 (with probability 0.5) or 0.3 (with probability 0.5). The diagonal entries are set large enough so that is positive definite.
Block: The OTUs are equally divided into 10 blocks. Each pair of points in the same block are connected with probability 0.5, while each pair between different blocks are connected with probability 0.2. Each non‐zero entry is set to 0.3 (with probability 0.5) or 0.3 (with probability 0.5). The diagonal entries are set large enough so that is positive definite.
Sparse: Let where , is a symmetric matrix whose lower triangular entries are defined as , where , , and are independent, and is large enough so that is positive definite. Under this simulation setting, there is an underlying sparse network of the interior nodes of the phylogenetic tree in each dataset.
- DTM: Under this scenario, the samples are from the following DTM model:
where DT is the Dirichlet‐tree distribution. We adopt the phylogenetic tree from the subset of the DIABIMMUNE data to be described in Section 4, and set and to their method of moments estimates based on the same dataset.
Although both scenarios utilize the tree to some extent, we note that under both settings, LTN does not assume the correct distributional form of the relative abundances. In particular, relative abundances generated from ilr‐LN are indeed Gaussian under other commonly used logratio transforms, but not the tlr. We purposefully simulate from these models that are different from our adopted model to show that even with such model misspecification, LTN can still characterize the true covariance structure in a robust manner.
Comparison to a state‐of‐the‐art benchmark: To judge the performance of our approach, we use as a benchmark a state‐of‐the‐art approach called COAT recently introduced in [42], and consider four different loss functions—the Frobenious norm, norm, entry‐wise norm and the spectral norm of the difference between the estimated clr correlation matrix and the truth. We examine these losses on the clr correlation matrix because COAT aims at estimating the clr covariance and so this choice is the most appropriate when using COAT as the benchmark. It is worth noting that while our proposed model explicitly models the covariance under the tlr transform, not the clr covariance, our model is fully generative and thus one can evaluate the induced covariance under the clr transform—or any other transform for that matter—based on the inferred model. This is in contrast to the COAT procedure, which is not based on a generative model, and hence can only be applied for estimating the clr covariance as designed. This is the reason why we compare our estimate of the clr covariance with COAT in particular. We note that the sparsity assumption and that under our approach and COAT differs—ours assumes sparsity on the precision matrix under the tlr transform, whereas COAT directly assumes sparsity on the covariance matrix under the clr transform.
In each simulation round, we run the Gibbs sampler for LTN for 10,000 iterations and discard the first half of the chain as burn‐in. The results are presented in Table 2. Here we set in LTN. Under the LN‐sparse setting, LTN outperforms COAT under all four losses. Under the other simulation settings, LTN outperforms COAT under most losses. The flexibility of the multivariate normal allows LTN to effectively characterize the cross‐sample variability even when the distribution of the relative abundances is misspecified.
TABLE 2.
Means (standard errors) of performance measures of two methods based on 100 simulation runs.
| LN‐hub | LN‐block | LN‐sparse | DTM | ||||||
|---|---|---|---|---|---|---|---|---|---|
| LTN | COAT | LTN | COAT | LTN | COAT | LTN | COAT | ||
| Frobenius | 40.4 (0.4) | 46.6 (0.8) | 39.1 (0.3) | 43.4 (0.7) | 38.0 (0.5) | 53.0 (0.8) | 20.78 (0.01) | 19.545 (0.003) | |
|
|
55.1 (0.5) | 76.3 (0.9) | 53.2 (0.5) | 73.3 (0.9) | 56.5 (0.8) | 78.9 (0.8) | 32.23 (0.05) | 33.41 (0.02) | |
|
|
1.40 (0.01) | 1.72 (0.01) | 1.45 (0.01) | 1.69 (0.01) | 1.52 (0.02) | 1.75 (0.01) | 0.733 (0.004) | 0.751 (0.001) | |
| Spectral | 37.9 (0.4) | 34.6 (0.6) | 35.8 (0.3) | 31.8 (0.6) | 34.7 (0.6) | 41.3 (0.7) | 18.93 (0.01) | 19.075 (0.002) | |
Note: Bold font indicates the winner in each comparison.
3.2.3. Generative Capabilities of LTN
To demonstrate the generative modeling capabilities of LTN, we analyze a subset of the American Gut Project (AGP) microbiome dataset [57], an open‐access 16S rRNA sequencing cohort processed through the QIIME pipeline. Following the analysis by [12], we focus on the July 2016 fecal data from participants medically diagnosed with inflammatory bowel disease (IBD). From the original OTU table containing 27,774 OTUs, we applied the same filtering of OTUs as described in [12]: First retaining the top 75 OTUs by total abundance, then selecting samples with at least 500 total counts across these OTUs. This preprocessing yields a final dataset of 189 samples.
We fit the LTN model under two precision matrix specifications—sparse (graphical lasso prior) and diagonal—to this dataset using Gibbs sampling with 10,000 iterations, discarding the first 5000 as burn‐in. From the posterior samples, we compute the posterior means and , which serve as the generative parameters for our simulation study. The LTN with diagonal covariance serves as a proxy for Dirichlet tree multinomial (DTM).
To evaluate the quality of generative performance of LTN and demonstrate the differences between LTN and alternative models, we conduct a comparison against alternative models: (1) Dirichlet multinomial, and (2) COAT, which is not generative, and samples are generated from a logratio normal distribution with mean and covariance equal to the COAT estimate.
For each model, we generate synthetic datasets by drawing i.i.d. samples conditioning on the total OTU counts per sample, and compare to the original data through the following:
Zero proportion distribution: Evaluates whether models capture the characteristic excessive zeros in OTU counts
NMDS plots: Compares the relationships between generated and real samples in low‐dimensional space
Stacked barplots at order level: Provides visual assessment of similarity in relative abundance distributions across taxa
The generative performance of LTN and the alternative models is presented in Figures 6, 7, 8. Figure 6 demonstrates that LTN effectively captures the observed per‐taxa sparsity patterns. Indeed, the Kolmogorov–Smirnov distance between the empirical distribution of per‐taxon zero proportion of the generated data and the observed data are 0.106, 0.159, 0.333, and 0.111 for LTN with graphical lasso prior, LTN with diagonal covariance, Dirichlet‐multinomial and LN with COAT estimate respectively, with the generated data from LTN with sparse precision matrix (with graphical lasso prior) exhibiting the smallest Kolmogorov–Smirnov distance from the empirical zero‐proportion distribution among all compared models. Regarding low‐dimensional structures, as illustrated in Figure 7, synthetic samples generated from LTN occupy similar geometric space to the observed data in NMDS projections. Finally, Figure 8 reveals that LTN‐generated samples closely reproduce the relative abundance patterns of the observed data. Notably, LTN accurately captures both the distribution of Bacteroidales (the most abundant order) and the across‐sample variability of Rhizobiales and Bacillales. This comparative analysis further demonstrates that LTN and LN model with COAT estimate better capture cross‐sample variability than the Dirichlet‐multinomial approach, highlighting the importance of flexible covariance modeling in generative microbiome analysis.
FIGURE 6.

Taxa zero patterns. Red lines in subplot (a)–(e) indicate the proportions of zero counts among all OTU counts. (a) Observed. (b) LTN with sparse . (c) LTN with diagonal . (d) Dirichlet multinomial. (e) LN with COAT estimate.
FIGURE 7.

NMDS plot of generated samples (from LN with COAT estimate, LTN with diagonal precision matrix as proxy of DTM, Dirichlet‐multinomial, and LTN with sparse precision matrix with graphical lasso prior) and real data (the “observed” subplot). The subplots use the same NMDS axes.
FIGURE 8.

Observed and simulated relative abundances. (a) Observed. (b) LTN (sparse covariance). (c) Dirichlet‐multinomial. (d) LN with COAT estimate. (e) LTN (diagonal covariance).
Beyond generative performance, understanding the covariance structure learned by LTN provides crucial insights into how the model captures inter‐taxa relationships. The posterior mean of of LTN and the corresponding correlation matrix are visualized in Figure 9, revealing substantial non‐zero covariances and correlations among nodes and therefore the need of flexible covariance structure across nodes as opposed to the independence assumed by DTM.
FIGURE 9.

Posterior mean of and correlation matrix from LTN fitted to AG IBD dataset.
Due to the generative nature of LTN, we are able to estimate clr covariance matrices for two LTN with graphical lasso prior with diagonal covariance (serving as a proxy for DTM) to have an apple‐to‐apple comparison with COAT—through the following Monte Carlo steps:
Sampled latent variables from posterior distributions
Applied inverse tlr transform to obtain multinomial probabilities
Performed clr transformation on probabilities
Computed sample covariance on clr‐transformed data
Figure 10 displays the estimated clr correlation matrices for diagonal LTN, graphical lasso LTN, and COAT. The LTN variants exhibit distinct clustered patterns that reflect phylogenetically‐informed covariance structures, with the diagonal LTN producing a sparser correlation matrix compared to the graphical lasso LTN. The flexible covariance structure afforded by the graphical lasso prior enables richer dependency networks among OTUs, capturing complex inter‐taxa relationships that the more constrained diagonal specification cannot. In contrast, the COAT estimate does not exhibit the clustered patterns. Although the true clr correlation structure remains unknown in this real dataset context, our previous simulation studies (Section 3.2.2) demonstrated that LTN estimates more closely approximate known ground truth correlations than COAT estimates. This validation suggests that the differences observed between LTN and COAT estimates likely reflect genuine underlying correlations rather than methodological artifacts.
FIGURE 10.

Comparison of clr correlation matrices across methods. (a) graphical lasso LTN clr correlation matrix. (b) Diagonal LTN clr correlation matrix. (c) COAT clr correlation matrix.
4. Case Study: the DIABIMMUNE Data
4.1. Overview of the Data and the Analysis
We now carry out a more in‐depth analysis of the Type 1 diabetes (T1D) cohort of DIABIMMUNE project to study the relationship of microbiome composition with several variables. The main goal of this study is to compare microbiome in infants who have developed T1D or serum autoantibodies (markers predicting the onset of T1D) with healthy controls in the same area. Within the time‐frame of the study, 11 out of 33 infants seroconverted to serum autoantibody positivity, and of those 11 infants, four developed T1D. Previous studies on this dataset have established associations between the microbiome composition with both the T1D status as well as dietary factors. For example, it has been shown that the microbiome of T1D patients tend to have reduced ‐diversity and increased prevalence of Bacteriodetes taxa [32, 58, 59]. In the following analysis we focus on the seroconversion status and the dietary covariates, and study the relationship between microbiome composition with each of these variables. We again apply our LTN‐based mixed‐effects model and compare the results to those from MaAsLin2 and DirFactor to the extent possible.
Key findings from our analysis are summarized as follows: (i) The microbiome compositions of samples taken after seroconversion differ from the other samples in terms of the relative abundance within Bacteroides, Parabacteroides, and Erysipelotrichacea, which are different from the taxa associated with T1D identified in [32]; (ii) introduction of several kinds of food and cessation of breastfeeding can significantly alter the gut microbiome of the infants. We present details of our study on different covariates in the following sections.
4.2. Differential Abundance Analysis Over Seroconversion Status
The T1D status of the individuals at the end of the study has been recorded as one of the three levels: control, seroconverted, and T1D at onset. This status is used to define the case and control groups in the original study, where the case group consists of both seroconverted individuals and those who are clinically classified as T1D at onset. For those in the case group, the age at seroconversion is also recorded. Previous analysis on the T1D status reveals that after the “seroconversion window” (i.e., the time between the first and third quartiles of age at seroconversion for all seroconverted and T1D subjects), the alpha‐diversity of microbial communities in T1D subjects showed a significant flattening, while the alpha diversity in other subjects continue to increase, and such difference can be accounted for by several groups of bacteria [32].
Motivated by these findings and inspired by a previous re‐analysis on this data given in [22], we perform a differential abundance between the samples collected before and after seroconversion to identify the nature of the changes in microbiome compositions after seroconversion. We note that while [22] also investigated the association of microbiome composition with seroconversion status they focus on estimating the covariate effects on the individual taxa without providing a formal means to testing on differential abundance of the taxa. Following [32], we also include eight binary dietary variables that indicate whether a specific type of diet was consumed at the time when the sample was collected: breastfeeding, solid food, eggs, fish, soy products, rye, barley, and buckwheat and millet. Dietary patterns are known to influence microbiome composition significantly and therefore must be accounted for. Age at collection (log‐transformed), gender and nationality of the individuals are also included in our analysis as covariates.
Exploratory analysis: Figure 11 shows a multidimensional scaling plot using Bray‐Curtis dissimilarity between samples, where age at collection increases almost in the same direction of the first axis, and the Finish and Estonian samples are roughly separated along the second axis in the case group. There is a clear general trend in age and large cross‐country difference, as well as substantial variability across subjects from the same country at similar ages. Figure 12 presents the most abundant phylum in each subject over time and Figure 13 shows the phylum compositions over age. They show large variability at birth both between subjects and within subjects, which gradually stabilizes over time. As such, we use log(age) as a covariate to account for the more rapid changes in microbiome compositions at early age. Interestingly, seroconversion generally happens after the highly variable phase. Most samples collected after one year old are dominated with either Bacteroidetes or Firmicutes. Moreover, Actinobacteria dominates other taxa in about half of the samples collected from Estonian individuals during the first year, while that is not the case for Finnish individuals.
FIGURE 11.

Multidimensional scaling of Bray‐Curtis dissimilarity between samples.
FIGURE 12.

The most abundant phylum in each sample.
FIGURE 13.

Phylum compositions over age.
Model‐based differential abundance analysis: We next fit our LTN‐based mixed‐effects model to identify differences in OTU compositions over seroconversion status and focused on the top 100 OTUs with highest relative abundance. Specifically, sample has group label if it is collected after seroconversion and otherwise. We include environmental and diet factors that are deemed likely to be associated with the microbiome composition as fixed effects. In addition, individual random effects are included to account for the between‐individual variation. We fit MaAsLin2 and DirFactor with the same set of fixed and random effects for comparison.
For the purpose of testing the global null, we set , corresponding to a prior probability of 0.5 for the global null to hold. The corresponding PJAP is close to one, indicating overwhelmingly strong evidence against null, which is unsurprising and consistent with the results from MaAslin2 and DirFactor, both of which result in a permutation p value under 1000 permutations. For the more interesting task of identifying specific taxa that are differentially abundant, we set , which corresponds to a prior expected proportion of 5% for nodes on which there is differential splitting probabilities. This more relaxed multiple testing adjustment strategy fall more in line with the practice of setting prior expected number of differentially abundant taxa. DirFactor does not in fact allow direct evaluation of individual taxon‐level association testing so are excluded in the comparison.
Details on the decision‐theoretic basis for hypothesis testing based on PMAPs: The decision on reporting the significant nodes is a multiple testing problem. Let be the observed data. Let be the decision rule on node , where if and only if the node‐specific null is rejected. Then the posterior expected FDR is
This is the average of over all nodes that are reported as significant. Here we adopt the decision rule for some . To control , we sort the PMAPs as , and set the threshold on PMAP in the decision rule as , where
Figure 14 presents the estimated PMAPs from our method for all the interior nodes of the phylogenetic tree. For comparison, in the same figure we label the leaf nodes (i.e., the OTUs) with BH‐adjusted q values ( and ) reported by MaAsLin2. The four nodes with the highest PMAPs suggest that changes occur in relative abundance of OTUs within the genus Bacteroides, the family Erysipelotrichaceae, and the genus Parabacteroides around the time of seroconversion. In particular, the results from our method further suggests increased abundance of P. distasonis relative to its sibling on the phylogenetic tree after seroconversion, which is consistent with the observed relative abundance of P. distasonis in the data (see Figure 15a). These identified associations are supported by previous studies based on other datasets [60, 61]. While our current analysis focuses on main effects of seroconversion status, Figure 15a and b suggest that for some taxa, the age trajectories may differ between seroconversion and non‐seroconversion groups, indicating potential interaction effects between age and seroconversion status. The LTN mixed‐effects model can naturally accommodate such interaction effects by extending the model to include interaction terms between covariates, with spike‐and‐slab priors placed on both main effects and interaction coefficients. In this case, posterior inference can be performed similarly to the current Gibbs sampler, though interpretation becomes more complex with interaction terms present. We note that while MaAsLin2 reports a much larger set of significant OTUs associated with the seroconversion level, we think these could contain a fairly large number of false positives given the inflated empirical FDR in our simulation study for the multi‐OTU association case (as shown in Figure 5).
FIGURE 14.

Posterior marginal alternative probabilities (PMAPs) of nodes from LTN‐based mixed‐effects model and BH q values of OTUs from MaAsLin2 in the comparison between pre‐ and post‐seroconversion samples. The OTUs with BH q‐value reported by MaAsLin2 and are marked with “**” and “*,” respectively. The “+” and “” on branches are labeled according to the sign of posterior mean of 's, indicating whether the left or the right child nodes has increased relative abundance among the cases.
FIGURE 15.

Relative abundance of P. distasonis and OTU 4439360. For P. distasonis, data collected before the first event of seroconversion is omitted. (a) P. distasonis. (b) OTU 4439360.
4.3. Goodness‐of‐Fit to the Within‐OTU and Within‐Sample Zeros
To examine how adequately the zero patterns in the data are captured by our proposed model, we fit our LTN mixed‐effects model with a matrix normal prior on the coefficients of all covariates (i.e., without a spike‐and‐slab component) to the DIABIMMUNE data, and generate posterior predictive samples of OTU counts. The posterior predictive distribution of the proportion of zeros is shown in Figure 16. In general, our model is capable of capturing both within‐OTU and within‐sample sparsity in this dataset without explicitly modeling a zero‐inflation component, which is consistent with the arguments given in [51] and [50] that adequately modeling cross‐sample heterogeneity under a count sampling model is often adequate in characterizing the abundant zeros in sequencing data.
4.4. Differential Abundance Analysis Over Dietary Variables
As additional examples that showcase the performance of our method and to compare it to MaAsLin2, we repeat the same abundance analysis on the microbiome compositions to each of the eight dietary factors. Due to space constraints, we report all of the results in Supporting Information Section D.
5. Conclusion
We have introduced a tree‐based generative model called LTN for microbiome compositions. LTN decomposes the multinomial sampling model to a collection of binomials at the interior nodes of the phylogenetic tree, and transforms OTU compositions to node‐specific log‐odds and adopts multivariate normal model on the log‐odds, thereby offering a flexible covariance structure among OTUs. With the tree‐based decomposition, LTN avoids the computational challenges caused by the lack of conjugacy between multinomial and multivariate normal in LN models, and efficient inference can be carried out with Gibbs sampling by introducing PG auxiliary variables. This opens the door to adopting a wide range of multivariate analysis models/methods for microbiome analysis while maintaining computational tractability.
Due to its fully generative nature, LTN can be used either as a standalone model or a component in more sophisticated models such as those involving covariate effects and latent structures, which are often needed in microbiome applications. We have provided examples of mixed‐effects modeling for cross‐group comparison. We have shown how to carry out cross‐group comparison of microbiome compositions through a Bayesian model choice framework. In these examples, we had adopted the gLasso prior for demonstration but our model/prior choices can and should be substituted as the practitioner sees fit in their given context. Finally, beyond compositional data, tree‐based log‐odds decompositions can also be used as device for modeling general probability distributions [49], the modeling and inference strategies described herein can be applied in these broader contexts as well.
Funding
This work was supported by the National Institute of General Medical Sciences (Grant No. R01‐GM135440) and the National Science Foundation (Grant Nos. DMS‐2013930 and DMS‐1749789).
Conflicts of Interest
The authors declare no conflicts of interest.
Supporting information
Table S1. PJAPs of the dietary variables.
Table S2. Nodes with significant association with breastfeeding reported by our LTN‐based mixed‐effects model with posterior expected FDR . The node labels are the same as in Figure S7.
Figure S1. Runtime of 10 Gibbs iterations versus number of OTUs .
Figure S2. MSE of the estimated mean () and marginal correlations on the original tree, averaged across all nodes. The MSE is calculated based on 100 replicates.
Figure S3. Estimated across nodes with . The boxplots are generated based on 100 replicates. The nodes are ordered by their depth in .
Figure S4. Estimated marginal correlations across nodes with . The left panel shows the shallowest ten nodes in while the right shows the deepest ten nodes. The boxplots are generated based on 100 replicates. The nodes are labeled by their depth in .
Figure S5. PMAPs of the introduction of solid food. The significant OTUs reported by MaAsLin2 are marked in the same way as Figure 14.
Figure S6. PMAPs of the introduction of soy products. The chain of three significant nodes and their descendant OTU 4439360 are marked in the figure. The posterior mean of at these three nodes (from top to bottom) are 1.22, 3.12, and 3.19 respectively. The significant nodes reported by our LTN‐based mixed‐effects model and the significant OTUs reported by MaAsLin2 are marked in the same way as Figure 14.
Figure S7. PMAPs of cessation of breastfeeding. The significant OTUs reported by MaAsLin2 are marked in the same way as Figure 14.
Figure S8. PMAPs for rye ().
Figure S9. PMAPs for buckwheat and millet ().
Figure S10. PMAPs for eggs ().
Figure S11. PMAPs for fish ().
Figure S12. PMAPs for barley ().
Acknowledgments
This research is partly supported by NIH grant R01‐GM135440 as well as NSF grants DMS‐1749789 and DMS‐2013930. The majority of this work was completed when L. was at Duke University.
Data Availability Statement
The data that support the findings of this study are openly available in DIABIMMUNE Microbiome Project at https://diabimmune.broadinstitute.org/diabimmune/. The code for the analysis in this paper is available on Github at https://github.com/MaStatLab/LTN_analysis1, and an R package for the LTN models is available at https://github.com/MaStatLab/LTN.
References
- 1. Li H., “Microbiome, Metagenomics, and High‐Dimensional Compositional Data Analysis,” Annual Review of Statistics and Its Application 2 (2015): 73–94. [Google Scholar]
- 2. Chen J., King E., Deek R., et al., “An Omnibus Test for Differential Distribution Analysis of Microbiome Sequencing Data,” Bioinformatics 34, no. 4 (2018): 643–651. [DOI] [PubMed] [Google Scholar]
- 3. Fernandes A. D., Reid J. N., Macklaim J. M., McMurrough T. A., Edgell D. R., and Gloor G. B., “Unifying the Analysis of High‐Throughput Sequencing Datasets: Characterizing Rna‐Seq, 16s Rrna Gene Sequencing and Selective Growth Experiments by Compositional Data Analysis,” Microbiome 2, no. 1 (2014): 15. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4. La Rosa P. S., Brooks J. P., Deych E., et al., “Hypothesis Testing and Power Calculations for Taxonomic‐Based Human Microbiome Data,” PLoS One 7, no. 12 (2012): e52078. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5. Martin B. D., Witten D., and Willis A. D., “Modeling Microbial Abundances and Dysbiosis With Beta‐Binomial Regression,” Annals of Applied Statistics 14, no. 1 (2020): 94–115. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 6. Wadsworth W. D., Argiento R., Guindani M., Galloway‐Pena J., Shelburne S. A., and Vannucci M., “An Integrative Bayesian Dirichlet‐Multinomial Regression Model for the Analysis of Taxonomic Abundances in Microbiome Data,” BMC Bioinformatics 18, no. 1 (2017): 94. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7. Zhang X., Guo B., and Yi N., “Zero‐Inflated Gaussian Mixed Models for Analyzing Longitudinal Microbiome Data,” PLoS One 15, no. 11 (2020): e0242073. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8. Aktukmak M., Zhu H., Chevrette M. G., et al., “A Graphical Model for Fusing Diverse Microbiome Data,” IEEE Transactions on Signal Processing 71 (2023): 3399–3412. [Google Scholar]
- 9. Fang Y. and Subedi S., “Clustering Microbiome Data Using Mixtures of Logistic Normal Multinomial Models,” Scientific Reports 13, no. 1 (2023): 14758. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10. Holmes I., Harris K., and Quince C., “Dirichlet Multinomial Mixtures: Generative Models for Microbial Metagenomics,” PLoS One 7, no. 2 (2012): e30126. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11. Layeghifard M., Hwang D. M., and Guttman D. S., “Disentangling Interactions in the Microbiome: A Network Perspective,” Trends in Microbiology 25, no. 3 (2017): 217–228. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12. Mao J. and Ma L., “Dirichlet‐Tree Multinomial Mixtures for Clustering Microbiome Compositions,” Annals of Applied Statistics 16, no. 3 (2022): 1476–1499. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 13. Qiao Z., Barnes E., Tringe S., Schachtman D. P., and Liu P., “Poisson Hurdle Model‐Based Method for Clustering Microbiome Features,” Bioinformatics 39, no. 1 (2022): btac782. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14. Sankaran K. and Holmes S. P., “Latent Variable Modeling for the Microbiome,” Biostatistics 20, no. 4 (2019): 599–614. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15. Shi Y., Zhang L., Do K.‐A., Jenq R., and Peterson C. B., “Sparse Tree‐Based Clustering of Microbiome Data to Characterize Microbiome Heterogeneity in Pancreatic Cancer,” Journal of the Royal Statistical Society: Series C: Applied Statistics 72, no. 1 (2023): 20–36. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16. Koslovsky M. D., “A Bayesian Zero‐Inflated Dirichlet‐Multinomial Regression Model for Multivariate Compositional Count Data,” Biometrics 79, no. 4 (2023): 3239–3251. [DOI] [PubMed] [Google Scholar]
- 17. Tang Z.‐Z. and Chen G., “Zero‐Inflated Generalized Dirichlet Multinomial Regression Model for Microbiome Compositional Data Analysis,” Biostatistics 20, no. 4 (2019): 698–713. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18. Bien J., Yan X., Simpson L., and Mueller C. L., “Tree‐Aggregated Predictive Modeling of Microbiome Data” (2021), Scientific Reports, 11, 14505. [DOI] [PMC free article] [PubMed]
- 19. Li X., Sung A. D., and Xie J., “Dart: Distance Assisted Recursive Testing,” Journal of Machine Learning Research 24, no. 169 (2023): 1–41. [PMC free article] [PubMed] [Google Scholar]
- 20. Mao J., Chen Y., and Ma L., “Bayesian Graphical Compositional Regression for Microbiome Data,” Journal of the American Statistical Association 115, no. 530 (2020): 610–624. [Google Scholar]
- 21. Grantham N. S., Guan Y., Reich B. J., Borer E. T., and Gross K., “Mimix: A Bayesian Mixed‐Effects Model for Microbiome Data From Designed Experiments,” Journal of the American Statistical Association 115, no. 530 (2020): 599–609. [Google Scholar]
- 22. Ren B., Bacallado S., Favaro S., Vatanen T., Huttenhower C., and Trippa L., “Bayesian Mixed Effects Models for Zero‐Inflated Compositions in Microbiome Data Analysis,” Annals of Applied Statistics 14, no. 1 (2020): 494–517. [Google Scholar]
- 23. LeBlanc P. and Ma L., “Microbiome Subcommunity Learning With Logistic‐Tree Normal Latent Dirichlet Allocation,” Biometrics 79, no. 3 (2023): 2321–2332. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 24. Shi Y., Zhang L., Peterson C. B., Do K.‐A., and Jenq R. R., “Performance Determinants of Unsupervised Clustering Methods for Microbiome Data,” Microbiome 10, no. 1 (2022): 25. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25. Aitchison J., “The Statistical Analysis of Compositional Data,” Journal of the Royal Statistical Society: Series B: Methodological 44, no. 2 (1982): 139–177. [Google Scholar]
- 26. S. Y. Dennis, III , “On the Hyper‐Dirichlet Type 1 and Hyper‐Liouville Distributions,” Communications in Statistics ‐ Theory and Methods 20, no. 12 (1991): 4069–4081. [Google Scholar]
- 27. Wang T. and Zhao H., “A Dirichlettree Multinomial Regression Model for Associating Dietary Nutrients With Gut Microorganisms,” Biometrics 73 (2017): 792–801. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 28. Xiao J., Chen L., Yu Y., Zhang X., and Chen J., “A Phylogeny‐Regularized Sparse Regression Model for Predictive Modeling of Microbial Community Data,” Frontiers in Microbiology 9 (2018), 10.3389/fmicb.2018.03112. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 29. Zhou F., He K., Li Q., Chapkin R. S., and Ni Y., “Bayesian Biclustering for Microbial Metagenomic Sequencing Data via Multinomial Matrix Factorization,” Biostatistics 23 (2021): 891–909. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30. Washburne A. D., Morton J. T., Sanders J., et al., “Methods for Phylogenetic Analysis of Microbiome Data,” Nature Microbiology 3, no. 6 (2018): 652–661. [DOI] [PubMed] [Google Scholar]
- 31. Polson N. G., Scott J. G., and Windle J., “Bayesian Inference for Logistic Models Using Plyagamma Latent Variables,” Journal of the American Statistical Association 108, no. 504 (2013): 1339–1349. [Google Scholar]
- 32. Kostic A. D., Gevers D., Siljander H., et al., “The Dynamics of the Human Infant Gut Microbiome in Development and in Progression Toward Type 1 Diabetes,” Cell Host & Microbe 17, no. 2 (2015): 260–273. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 33. Beghini F., McIver L. J., Blanco‐Míguez A., et al., “Integrating Taxonomic, Functional, and Strain‐Level Profiling of Diverse Microbial Communities With Biobakery 3,” eLife 10 (2021): eLife.65088. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 34. Callahan B. J., McMurdie P. J., Rosen M. J., Han A. W., Johnson A. J. A., and Holmes S. P., “Dada2: High‐Resolution Sample Inference From Illumina Amplicon Data,” Nature Methods 13, no. 7 (2016): 581–583. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35. Egozcue J. J. and Pawlowsky‐Glahn V., “Changing the Reference Measure in the Simplex and Its Weighting Effects,” Austrian Journal of Statistics 45, no. 4 (2016): 25–44. [Google Scholar]
- 36. Egozcue J. J., Pawlowsky‐Glahn V., Mateu‐Figueras G., and Barcel‐Vidal C., “Isometric Logratio Transformations for Compositional Data Analysis,” Mathematical Geology 35, no. 3 (2003): 279–300. [Google Scholar]
- 37. Silverman J., Washburne A., Mukherjee S., and David L., “A Phylogenetic Transform Enhances Analysis of Compositional Microbiota Data,” eLife 6 (2017): eLife.21887. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 38. Äijö T., Müller C. L., and Bonneau R., “Temporal Probabilistic Modeling of Bacterial Compositions Derived From 16S rRNA Sequencing,” Bioinformatics 34, no. 3 (2018): 372–380. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 39. Silverman J. D., Durand H. K., Bloom R. J., Mukherjee S., and David L. A., “Dynamic Linear Models Guide Design and Analysis of Microbiota Studies Within Artificial Human Guts,” Microbiome 6, no. 1 (2018): 202. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 40. Xia F., Chen J., Fung W. K., and Li H., “A Logistic Normal Multinomial Regression Model for Microbiome Compositional Data Analysis: Logistic Normal Multinomial Regression,” Biometrics 69, no. 4 (2013): 1053–1063. [DOI] [PubMed] [Google Scholar]
- 41. Silverman J. D., Roche K., Holmes Z. C., David L. A., and Mukherjee S., “Bayesian Multinomial Logistic Normal Models Through Marginally Latent Matrix‐t Processes,” Journal of Machine Learning Research 23, no. 7 (2022): 1–42. [PMC free article] [PubMed] [Google Scholar]
- 42. Cao Y., Lin W., and Li H., “Large Covariance Estimation for Compositional Data via Composition‐Adjusted Thresholding,” Journal of the American Statistical Association 114, no. 526 (2019): 759–772. [Google Scholar]
- 43. Faust K., “Open Challenges for Microbial Network Construction and Analysis,” ISME Journal 15, no. 11 (2021): 3111–3118. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 44. Matchado M. S., Lauber M., Reitmeier S., et al., “Network Analysis Methods for Studying Microbial Communities: A Mini Review,” Computational and Structural Biotechnology Journal 19 (2021): 2687–2698. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 45. Katsevich E. and Sabatti C., “Multilayer Knockoff Filter: Controlled Variable Selection at Multiple Resolutions,” Annals of Applied Statistics 13, no. 1 (2019): 1–33. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 46. Li Y., “A Bottom‐Up Approach to Testing Hypotheses That Have a Tree Structure,” Journal of the American Statistical Association 117, no. 538 (2022): 664–677. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 47. Wang S., Xu M., Cao H., and Zhao Y., “Hypothesis Testing for Phylogenetic Composition,” Biometrika 107, no. 4 (2020): 935–950. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 48. Christensen J. and Ma L., “A Bayesian Hierarchical Model for Related Densities by Using Pólya Trees,” Journal of the Royal Statistical Society, Series B: Statistical Methodology 82, no. 1 (2020): 127–153. [Google Scholar]
- 49. Jara A. and Hanson T. E., “A Class of Mixtures of Dependent Tail‐Free Processes,” Biometrika 98, no. 3 (2011): 553–566. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 50. Sarkar A. and Stephens M., “Separating Measurement and Expression Models Clarifies Confusion in Single‐Cell Rna Sequencing Analysis,” Nature Genetics 53, no. 6 (2021): 770–777. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 51. Silverman J. D., Roche K., Mukherjee S., and David L. A., “Naught All Zeros in Sequence Count Data Are the Same,” Computational and Structural Biotechnology Journal 18 (2020): 2789–2798. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 52. Wang H., “Bayesian Graphical Lasso Models and Efficient Posterior Computation,” Bayesian Analysis 7, no. 4 (2012): 867–886. [Google Scholar]
- 53. Li Y., Craig B. A., and Bhadra A., “The Graphical Horseshoe Estimator for Inverse Covariance Matrices,” Journal of Computational and Graphical Statistics 28, no. 3 (2019): 747–757. [Google Scholar]
- 54. Kurtz Z. D., Müller C. L., Miraldi E. R., Littman D. R., Blaser M. J., and Bonneau R. A., “Sparse and Compositionally Robust Inference of Microbial Ecological Networks,” PLoS Computational Biology 11, no. 5 (2015): e1004226. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 55. Mallick H., Rahnavard A., McIver L. J., et al., “Multivariable Association Discovery in Population‐Scale Meta‐Omics Studies” (2021), bioRxiv. [DOI] [PMC free article] [PubMed]
- 56. Sing T., Sander O., Beerenwinkel N., and Lengauer T., “Rocr: Visualizing Classifier Performance in r,” Bioinformatics 21, no. 20 (2005): 7881. [DOI] [PubMed] [Google Scholar]
- 57. McDonald D., Hyde E., Debelius J. W., et al., “American Gut: An Open Platform for Citizen Science Microbiome Research,” Msystems 3, no. 3 (2018): msystems.00031‐18, 10.1128/msystems.00031–18. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 58. Brugman S., Klatter F. A., Visser J. T. J., et al., “Antibiotic Treatment Partially Protects Against Type 1 Diabetes in the Bio‐Breeding Diabetes‐Prone Rat. Is the Gut Flora Involved in the Development of Type 1 Diabetes?,” Diabetologia 49, no. 9 (2006): 2105–2108. [DOI] [PubMed] [Google Scholar]
- 59. Dedrick S., Sundaresh B., Huang Q., et al., “The Role of Gut Microbiota and Environmental Factors in Type 1 Diabetes Pathogenesis,” Frontiers in Endocrinology 11 (2020): 78. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 60. Matos J., Matos I., Calha M., et al., “Insights From Bacteroides Species in Children With Type 1 Diabetes,” Microorganisms 9, no. 7 (2021): 1436. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 61. Mejía‐León M. E., Petrosino J. F., Ajami N. J., Domínguez‐Bello M. G., and de La Barca A. M. C., “Fecal Microbiota Imbalance in Mexican Children With Type 1 Diabetes,” Scientific Reports 4, no. 1 (2014): 1–5. [DOI] [PMC free article] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Table S1. PJAPs of the dietary variables.
Table S2. Nodes with significant association with breastfeeding reported by our LTN‐based mixed‐effects model with posterior expected FDR . The node labels are the same as in Figure S7.
Figure S1. Runtime of 10 Gibbs iterations versus number of OTUs .
Figure S2. MSE of the estimated mean () and marginal correlations on the original tree, averaged across all nodes. The MSE is calculated based on 100 replicates.
Figure S3. Estimated across nodes with . The boxplots are generated based on 100 replicates. The nodes are ordered by their depth in .
Figure S4. Estimated marginal correlations across nodes with . The left panel shows the shallowest ten nodes in while the right shows the deepest ten nodes. The boxplots are generated based on 100 replicates. The nodes are labeled by their depth in .
Figure S5. PMAPs of the introduction of solid food. The significant OTUs reported by MaAsLin2 are marked in the same way as Figure 14.
Figure S6. PMAPs of the introduction of soy products. The chain of three significant nodes and their descendant OTU 4439360 are marked in the figure. The posterior mean of at these three nodes (from top to bottom) are 1.22, 3.12, and 3.19 respectively. The significant nodes reported by our LTN‐based mixed‐effects model and the significant OTUs reported by MaAsLin2 are marked in the same way as Figure 14.
Figure S7. PMAPs of cessation of breastfeeding. The significant OTUs reported by MaAsLin2 are marked in the same way as Figure 14.
Figure S8. PMAPs for rye ().
Figure S9. PMAPs for buckwheat and millet ().
Figure S10. PMAPs for eggs ().
Figure S11. PMAPs for fish ().
Figure S12. PMAPs for barley ().
Data Availability Statement
The data that support the findings of this study are openly available in DIABIMMUNE Microbiome Project at https://diabimmune.broadinstitute.org/diabimmune/. The code for the analysis in this paper is available on Github at https://github.com/MaStatLab/LTN_analysis1, and an R package for the LTN models is available at https://github.com/MaStatLab/LTN.
