Abstract
Motivation
Microbiome–metabolome–disease pathways play a central role in host health, but studying them is limited by the data available. Large clinical microbiome cohorts often lack metabolomic measurements, while multi-omics studies with paired profiles are typically small or incompletely phenotyped. Combining such complementary datasets is challenging: the metabolite is not measured in the clinical cohort, microbiome data are high-dimensional and compositional, and log-ratio analyses depend on an arbitrarily chosen reference taxon.
Results
We propose a framework that integrates a large target cohort that has microbiome and outcome data with a smaller external study that has paired microbiome–metabolome profiles. A high-dimensional structural equation model jointly links the microbiome, the metabolome, and the disease outcome. It allows for unmeasured confounding and groups microbes into functional categories. We address compositionality with the additive log-ratio (ALR) transformation, estimate parameters by penalized two-stage least squares, and test metabolite–disease associations with a regularized permutation test. A novel multiple-reference procedure treats each microbe in turn as the ALR reference. It combines the resulting P-values with the Cauchy combination test and classifies microbes by stability selection, which makes inference robust to the choice of reference. In simulations, the method controls the type I error rate, and its power increases with both target and external sample sizes. An application to inflammatory bowel disease, integrating the FRAN and iHMP cohorts, reveals biologically interpretable microbiome–metabolome–disease links.
Availability and implementation
The method is implemented in the R package MMDP, freely available at https://github.com/lei-fang-stat/MMDP.
1 Introduction
Since the initiation of the human microbiome project in 2007 (Turnbaugh et al. 2007), mounting evidence has suggested that the human microbiome plays a crucial role in maintaining our health and well-being by aiding in digestion, immune system regulation, and synthesizing essential nutrients (Benson et al. 2010, Brune 2014, Clarke et al. 2014). It has also been associated with various diseases and conditions, including inflammatory bowel disease (IBD), allergic disorders, type 1 diabetes, autism, obesity, and colorectal cancer (Ley et al. 2005, Johansson et al. 2011, De Angelis et al. 2013, Dejea et al. 2014, Alkanani et al. 2015, Lloyd-Price et al. 2019). However, the underlying mechanism by which the gut microbiome interacts with host health is still poorly understood.
Microbial metabolomics in the human gut opens a new avenue to investigate the host–microbiome relationship. Recent studies identified various microbiome–metabolome relationships under different conditions. For example, gut microbiota-derived metabolites play central regulator roles in metabolic disorders (Lamichhane et al. 2018, Agus et al. 2021). Studies have also identified gut metabolites significantly associated with host health (Visconti et al. 2019, Rahman et al. 2023). These results jointly suggest critical microbiome–metabolome–host pathways for maintaining host health.
However, several data limitations hinder the comprehensive investigation of microbiome–metabolome–host pathways. Ideally, a single dataset would have a sufficiently large sample size, comprehensive microbiome and metabolome profiling, and relevant clinical outcomes to enable robust pathway analysis. However, in reality, such datasets are rare. Most existing microbiome studies lack paired metabolomics data, preventing the joint analysis of microbiome, metabolome, and phenotype relationships. While emerging multi-omics technologies (Quince et al. 2017) allow simultaneous profiling of gut microbiome and metabolome from the same stool sample, these datasets remain limited in number and often suffer from small sample sizes or a narrow range of clinical outcomes, reducing statistical power and biological interpretability. Further complicating this issue is the diversity of metabolomics platforms. Differences between targeted versus untargeted approaches, analytical techniques, and metabolite coverage lead to substantial variability in the types and numbers of metabolites measured across studies (Bingol 2018). As a result, key metabolites of interest may not be captured in existing paired microbiome–metabolome datasets, making pathway reconstruction challenging.
A potential approach to overcoming these challenges is to conduct integrative analysis, where complementary datasets are combined to construct microbiome–metabolome–host pathways. Specifically, one dataset has a large sample size and relevant clinical outcomes but lacks metabolite measurements (called the target data), while another includes detailed metabolomic profiling but has a smaller sample size or lacks disease phenotype data (called the external data). This setting presents several methodological challenges, including handling missing metabolite measurements across datasets, accommodating the high dimensionality of microbiome features, and accounting for the compositional nature of microbiome data. We develop a high-dimensional structural equation model (SEM) with compositional covariates to address these challenges that leverages complementary datasets. Our SEM allows for the presence of hidden confounders that simultaneously influence gut metabolism and host health. This ensures a more robust identification of the pathway, particularly given that many confounders in microbiome studies, such as dietary factors, are often unmeasured.
The proposed SEM identifies relationships among the microbiome, metabolome, and disease outcome, while grouping microbes into functional categories, each representing a distinct function that the microbes play in the pathway. We address the compositional nature of the microbiome data via the additive log-ratio (ALR) transformation and develop a high-dimensional penalized two-stage least squares framework with predicted covariates to perform parameter estimation. Specifically, the first stage employs an -1 penalized regression to train a microbiome–metabolome relationship model using the external data, which is then used to predict the missing metabolite in the target data. The predicted metabolite is further taken into the second stage to analyse its association with the phenotype while adjusting for microbial confounders. We assess the statistical significance of metabolite–host associations using a regularized permutation test, which provides valid finite-sample inference in the high-dimensional setting. Such microbiome-based “predictive metabolic analysis” across independent datasets has been shown to be successful in recent studies, such as MelonnPan (Mallick et al. 2019).
Although the ALR transformation effectively addresses the compositional nature of microbiome covariates, it has a well-known limitation: the results depend on the choice of a pre-selected reference microbe, and different references may lead to different conclusions. To address this reference-dependence issue, we further develop a robust multiple-reference procedure that treats each microbe in turn as the reference and integrates the resulting analyses. Specifically, we combine permutation-based P-values using a Cauchy combination test (Liu and Xie 2020), and apply stability selection (Meinshausen and Bühlmann 2010) to identify microbes within each functional category.
Throughout the article, we use normal typeface to denote scalars, bold lowercase typeface to denote vectors, and uppercase typeface to denote matrices. For any vector , we use to denote the lth entry of for , and for any set , denotes the sub-vector of indexed by . The norm of is defined as for with . Let denote the indicator function of the event ; that is, if happens and otherwise.
2 Materials and methods
2.1 The target model
We first define the true model in the target study. Suppose that we observe the clinical outcome and the microbiome counts of p taxa for . Letting denote the unmeasured gut metabolite of interest, we propose the following linear SEM:
| (1) |
| (2) |
The constraints and are due to the compositional nature of microbiome measurement, following the general idea of the log-contrast model (Aitchison 1982, Shi et al. 2016). To account for potential unmeasured confounding, we allow the error terms and to be correlated zero-mean random variables and assume they are independent of .
Models (1) and (2) jointly define the entire microbiome–metabolome–host pathway. First, represents the direct effect of the metabolite on the outcome. Letting index all microbes, and jointly categorize the microbes into the following four groups:
: microbes in are associated with both the outcome and metabolites;
: microbes in are associated with the outcome only through the metabolite;
: microbes in are directly associated with the outcome without affecting the metabolite;
: microbes in are irrelevant to the host–metabolome relationship.
Our goal is to make inference of as well as identify . However, models (1) and (2) cannot be directly fitted using the target data, where the metabolite is not measured. Below, we outline our approach for estimation and inference by leveraging an informative external dataset that includes measurements of the metabolite.
2.2 Estimation and inference
Our procedure proceeds in three steps. First, we handle the linear constraints in (1) and (2) via an ALR transformation, using a pre-selected reference microbe (Aitchison 1982). Second, we obtain estimates of , , and through a penalized two-stage least squares approach. Third, we compute a P-value for testing using a regularized permutation procedure.
2.2.1 Step 1: the ALR transformation
The ALR transformation is based on a pre-selected reference microbe, e.g. . For each of the rest microbes, its ALR transformed abundance is defined as for and . Therefore, we can rewrite (1) and (2) with the ALR-transformed data as follows:
| (3) |
| (4) |
where , and and are the subvectors of and excluding the pth entry, respectively. Theoretically, using different reference microbes leads to the same log-constrast models in (1) and (2). To see this, we can write (1) as
for any reference microbe . This also holds for model (2).
2.2.2 Step 2: the penalized two-stage least squares
Suppose we have an external dataset where we observe microbiome count data from the same p taxa as in the target data, along with the abundance of the metabolite of interest, denoted by , for . We also define the ALR-transformed data in the external study for and , and denote . We develop a two-stage least squares procedure for parameter estimation. In Stage 1, we aim to predict the unknown in the target data by training model (3) with the external data. Specifically, we estimate in (3) with:
| (5) |
where is a tuning parameter. In Stage 2, we replace the unobserved metabolite value in model (4) with its predicted counterpart , for . Similarly, we obtain by minimizing
| (6) |
where is a tuning parameter.
2.2.3 Step 3: regularized permutation test
Having obtained and , we next test to identify significant metabolome–disease associations, while accounting the microbes’ effects. Specifically, let where is the jth component of the Lasso estimator obtained from (6). Based on this selected set, we form the submatrix of , obtained by retaining only the columns indexed by . With a tuning parameter , we then construct the regularized hat matrix
and define the corresponding regularized orthogonal projection matrix
Let denote the Pearson correlation between the predicted vector and the residual , where . Next, for each , we generate a permuted residual where is a random permutation matrix that is generated by randomly permuting the order of rows (or columns) of the identity matrix. We then compute its correlation with , denoted by . Finally, the P-value is defined as
| (7) |
The above testing procedure is performed using the R package phd (Hemerik et al. 2021).
2.3 A robust multi-reference procedure
While the previous three-step procedure depends on a chosen reference microbe, different reference choices may yield substantially different inference results. Moreover, there is generally no principled way to determine an optimal reference a prior. To avoid relying on an arbitrary reference, we develop a robust procedure that integrates results obtained by treating every microbe in turn as the reference. This approach synthesizes the correlation estimates from all references by computing the median , combining permutation P-values via a Cauchy combination test, and applying stability selection to identify robust nonzero effects in and . The full algorithm is presented next.
3 Results
3.1 A data-driven simulation study
We used the metagenomics data from Yachida et al. (2019) as the target data with (referred to as “YACHI”) and the paired microbiome-metabolome data from Franzosa et al. (2019) as the external data with (referred to as “FRAN”). For the target dataset, the relative abundance of 11 318 microbes at the genus level were original measured. Due to the excessive zeros (85%), we first aggregated the microbial genera into 1140 microbial orders and then removed microbial orders with more than 30% of zeros across participants. There were 114 microbial orders remaining. The external dataset contains the relative abundance data of 9974 and 1054 microbes at the genus level and order level, respectively. Among them, 112 microbial orders overlapped with the target dataset. To account for the remaining zeros, we added to the relative abundance of the overlapping 112 microbes in both target and external datasets for the ALR transformation.
We generated the metabolite abundance in the target data according to model (1) based on the 112 overlapping microbial orders, where for and 4, for and 5, and for . We then simulated the outcome according to model (2), where for , and 8, for and 7, and for the rest. We set to various values to examine the effectiveness of the proposed method in detecting various levels of metabolite-disease associations. Each pair were drawn from a bivariate normal distribution with mean zero, standard deviation and , and covariance 0.1, thereby allowing for unobserved confounding. The is approximately in model (1), and the is approximately in model (2) under the null setting where . The external metabolite was generated in the same way as the target metabolite. Under this data-generation regime, the 112 microbes were classified into the following four categories. Specifically, two microbes belong to , three microbes belong to , three microbes in , and the remaining belong to . While in the target data was generated to obtain the outcome , we assume it is not known during estimation and inference.
We first examined the robustness regarding the choice of the reference microbe in the ALR procedure. Specifically, we set , , and . For each possible reference taxon in the ALR transformation, we fitted the proposed model and obtained the P-value for testing . Figure 1 shows the distribution of P-values obtained using different reference taxa. The P-values range from .0024 to .9345, with a median of 0.0385. Moreover, approximately one-third of the references (38 out of 112) yield P-values greater than .05. These results clearly demonstrate that the choice of reference in the ALR transformation can substantially affect statistical inference.
Figure 1.

The distribution of P-values under different references when , , and = 0.2. The horizontal red dashed line represents the P-value threshold of .05. There are 38 out of 112 references that yield P-values above .05.
Next, we considered testing using the proposed multi-reference procedure by setting . We used the full external sample size of , while to examine the impact of the target sample size, we considered the full sample size of as well as two subsamples with and 250. Additionally, to investigate the impact of the external sample size, we used the full target sample size of and set the external sample size of . The simulation results were examined based on 500 replications. With varying external sample sizes, Fig. 2A shows that the proposed method controls type I error well and has increased power as external sample size increases. Figure 2B shows a similar pattern as target sample size varies.
Figure 2.

Type I error and power for testing when under varying sample sizes. (A) External sample size varies; (B) target sample size varies. The is approximately in stage 1 model (1), and the is approximately in model (2) under the null setting where = 0. The horizontal dotted line indicates the nominal level of 0.05. (C) ROC curves for under different external sample sizes, with AUCs of 0.687, 0.815, and 0.870 for , 150, and 220, respectively. (D) ROC curves for under different target sample sizes, with AUCs of 0.656, 0.718, and 0.771 for , 250, and 347, respectively.
We then examined the categorization of microbial roles into the four groups by fixing . Fixing the stability selection frequency () at 0.8, we calculated the true positive rate (TPR) and false positive rate (FPR) according to
where , and is the tuning parameter in (6) used for estimating . We then showed the ROC curve by varying the tuning parameter . Subsequently, the ROC curve for were plotted in the same way. In Fig. 2C, all ROC curves lie above the diagonal reference line, indicating that our robust multi-reference procedure can accurately identify the nonzero entries of across all external sample sizes. Moreover, the ROC curves move farther from the diagonal reference line as external sample size increases, indicating improved performance. This trend is also supported by the area under the curve (AUC), which increased from 0.687 to 0.815 and 0.870 for N = 100, 150, and 220, respectively. Similar patterns are shown in Fig. 2D where the target sample size varies.
The AUC values in Fig. 2D show an improved performance with target sample size, increasing from 0.656 to 0.718 and 0.771 for , 250, and 347, respectively. Thus, Fig. 2C and D jointly demonstrate the effectiveness of the proposed multi-reference stability procedure for recovering for . We also conducted a sensitivity analysis against the stability threshold. Following the original stability selection framework of (Meinshausen and Bühlmann 2010) and its implementation in the R package stabs, the selection threshold is typically chosen within the range of 0.6–0.9. Hence, we additionally consider thresholds of 0.6, 0.7, and 0.9 in the simulation study while keeping all other simulation settings the same. We report the variable selection performance for recovering the nonzero entries of and under the different sample size settings. Figure S3 in Section 1.2, available as supplementary data at Bioinformatics online, shows that the variable selection performance is robust to the choice of stability threshold, as evidenced by the nearly overlapping ROC curves across all thresholds considered. And this robustness persists under all sample size settings. These findings are consistent with the general conclusions on the robustness of stability selection reported in Meinshausen and Bühlmann (2010).
Finally, to examine the robustness of proposed method under different signal-to-noise ratios, we considered additional case where , while keeping the rest of the parameters the same. Accordingly, in model (1), is approximately and , respectively; in model (2), under the null setting where , is approximately and , respectively. The simulation results are presented in Figs S1 and S2 of Section 1.1, available as supplementary data at Bioinformatics online. Consistent with Fig. 2, both figures show a similar pattern of type I error, power and AUC for selecting and across different sample sizes. In addition, Tables S1–S3 in Section 1.1, available as supplementary data at Bioinformatics online, summarize the type I error, power (with ), and the AUC for selecting and , respectively, under different values of and . Across all settings, the proposed test maintains satisfactory type I error control, with empirical type I error remaining close to the nominal 0.05 level. As expected, increasing the signal-to-noise ratio (equivalently, increasing by reducing and ) substantially improves power. For example, when the target sample size increases from to with fixed, the power increases from 0.816 to 0.952 when , and from 0.474 to 0.788 when . Similarly, increasing the external sample size from to with fixed consistently improves power across all noise levels. The improvement in signal-to-noise ratio also enhances variable selection performance. As the noise level decreases, the AUCs for recovering both and increase consistently. Moreover, larger target and external sample sizes further improve selection accuracy. For example, the AUC for recovering increases from 0.732 to 0.921 as N increases from 100 to 220 when , while the AUC for recovering increases from 0.736 to 0.843 as n increases from 150 to 347 under the same noise level. Notably, even under the highest noise level considered (), the proposed method still achieves reasonably good signal recovery, with AUCs above 0.60.
3.2 Real data application
In this section, we aim to elucidate microbiome-metabolome relationships related to the disease pathology of IBD by integrating iHMP (external) (Lloyd-Price et al. 2019) and the FRAN (target) dataset. The FRAN cohort consists of 220 individuals (164 IBD cases), while the iHMP cohort consists of 105 individuals (79 cases). Since iHMP is a longitudinal study, we only use the baseline measurement defined by the first visit for each individual. The metagenomics and metabolomics data in both datasets were collected from stool samples by shotgun and four LC–MS methods, respectively.
3.2.1 Data filtering
The iHMP and FRAN datasets have been preprocessed and curated using the same pipelines (Muller et al. 2022). For the FRAN study, the curated microbiome data contain 9974 bacterial genera. The curated metabolomic data include 8849 metabolites, of which 149 metabolites have annotated HMDB IDs with a high confidence level. The curated iHMP dataset contains 7235 bacterial genera and 81 868 metabolites, where 272 metabolites have annotated HMDB IDs with a high confidence level.
We first processed the microbiome abundance in both datasets. Figure 3A summarizes the main steps. Specifically, we aggregated the FRAN microbiome abundance from bacterial genera into 1140 bacterial orders, aiming to reduce dimensionality. Similarly, for the iHMP microbiome abundance, after aggregation, we obtained 835 bacterial orders, 798 of which are also measured in FRAN dataset. We adopted R package MMUPHin (Ma et al. 2022) to perform batch-effect correction on the 798 overlapping bacterial orders, adjusting for study group (case versus control) and age. One subject from the iHMP dataset was excluded due to missing age information. After batch-effect correction, we have two steps of handling zeros in the microbiome data. First, we removed microbial orders with more than 30% of zeros across participants in FRAN dataset. Among them, 86 microbial orders overlapped with the iHMP dataset and were taking into the remaining analysis. Second, we added a pseudo-abundance to the remaining taxa before fitting the proposed model. A common approach for handling zeros in log-contrast models is to add a small pseudo-abundance (e.g. 1 or 0.5) when absolute counts are available (Aitchison 1986). However, only relative abundance data were available in our analysis, and the corresponding raw counts were unavailable. Therefore, we added a pseudo-abundance of , which is smaller than the minimum observed nonzero relative abundance (), to minimize its impact on the observed measurements in both FRAN and iHMP datasets for the ALR transformation.
Figure 3.

(A) Processing pipeline for microbiome relative abundance data in the iHMP and FRAN studies. (B) Scatter plot showing highly concordant microbiome abundance ranks between the FRAN and iHMP datasets. (C) and (D) Scatter plots illustrating that microbes with discordant ranks between FRAN and iHMP tend to be low-abundance taxa in the iHMP and FRAN datasets, respectively. Correlation matrix plots of microbiome relative abundance in the iHMP (E) and FRAN (F) datasets, showing similar structures.
For the 272 annotated metabolites in the iHMP dataset, we removed those with any missing values, resulting in 143 metabolites left. Among these, 113 metabolites were completely measured only in the iHMP dataset, while only 30 were shared between the two datasets. This highlights the need to integrate FRAN and iHMP for a more comprehensive metabolomic analysis. Because our primary interest is in microbiome–metabolite–IBD pathways, we restricted our analysis to 76 metabolites that were related to the microbiome. These microbially associated metabolites were identified using MiRKAT (Zhao et al. 2015), with Bray–Curtis dissimilarity (Bray and Curtis 1957) applied to the microbiome data and log-transformed metabolite abundances. Specifically, 59 of the 113 iHMP-unique metabolites and 17 of the 30 metabolites shared across datasets are identified as significant.
We selected FRAN as our target dataset because it has a larger sample size than iHMP and includes fecal calprotectin (FCP) measurements, a clinically relevant IBD outcome (Moniuszko et al. 2013). Individuals in FRAN with missing FCP measurements were excluded. After filtering, the final target dataset (FRAN) comprised 153 subjects (111 cases) and 86 microbial orders. The external dataset (iHMP) included 104 subjects (78 cases) with the same 86 microbial orders and 76 microbially related metabolites, 17 of which were shared with FRAN.
3.2.2 Transferability assessment
Our framework assumes that information from the external dataset (iHMP) can be reliably transferred to the target dataset (FRAN). To support this assumption, we conducted several descriptive analyses to assess cross-dataset similarity. First, we compared the overall microbiome composition between iHMP and FRAN by computing, for each microbe, the average relative abundance across subjects in each dataset. We then ranked these average relative abundances and examined their relationship, as shown in Fig. 3B. The strong concordance between the two rankings, with a correlation of 0.97, indicates that the microbial communities exhibit highly similar overall abundance patterns across the two datasets.
Recognizing the heterogeneity across subjects, we extended this analysis to the individual level. Specifically, within each individual, we ranked the relative abundances of microbes, yielding two rank matrices corresponding to the two datasets. We then compared the rank of each microbe between the two datasets using the Wilcoxon rank-sum test. Among the 86 microbes examined, 28 showed marginal significance, and only 10 remained significant after Bonferroni correction. Notably, all 28 marginally significant microbes were among the lowest-abundance taxa: their largest average relative abundances were in the iHMP dataset and in the FRAN dataset. Figure 3C and D further illustrate the relationship between marginal P-values and average relative abundance of those 28 significant taxa, showing that the most significant microbes tended to have extremely low abundance, which is known to be more variable across subjects and reflects underlying biological heterogeneity.
Since our SEM is a multivariable regression model that simultaneously includes all taxa as covariates, the correlation structure of microbiome abundances is crucial for reliable data transfer. We therefore used CCLasso (Fang et al. 2015), a compositionality-aware correlation estimation method, to compare the taxon–taxon correlation matrices in the iHMP and FRAN datasets. As shown in Fig. 3E and F, the two correlation matrices exhibit similar overall block structures, with the FRAN dataset showing slightly stronger correlations among taxa. We further applied the Mantel test to confirm the similarity between the two matrices, which yielded a P-value = .001.
Finally, we compared the log-transformed abundances of the 17 shared metabolites between the two datasets using two-sample t-tests. Based on marginal P-values, we found no significant differences in metabolite abundances across the two datasets. This result suggests substantial similarity between the shared metabolomic profiles of the two datasets.
3.2.3 Integration of FRAN and iHMP data
In this section, we applied the proposed multi-reference procedure (Algorithm 1) to integrate the target FRNA dataset () with the external iHMP dataset (). After data filtering, 86 microbial orders and 76 microbiome-related metabolites were retained. Our goal was to identify biologically meaningful microbiome–metabolome pathways associated with IBD. Metabolite levels were standardized to have mean zero and unit variance in the external dataset, while the FCP outcome was centered in the target dataset. In both datasets, the microbiome abundance matrices were centered after applying the ALR transformation. When implementing the penalized two-stage squared algorithm, we hard-thresholded each entry of in (5) at to avoid numerical instability caused by extremely small Lasso estimates.
Algorithm 1.
Robust multi-reference procedure
Require: Target data , external data , stability threshold
1: for to p do
2: Use microbe j as the reference
3: Obtain via (5)
4: Obtain via (6)
5: Compute correlation and the permutation test P-value via (7)
6: end for
7: Final correlation estimate:
8: Final significance test: Combine via Cauchy combination method to obtain final P-value for
9: Stability selection for and :
10: for each microbe do For each k, sum over all references
11: Define selection frequency
12: Define selection frequency
13: end for
14: Robust group categorization:
15: for each microbe do
16: if and then
17: Assign k to
18: else if and then
19: Assign k to
20: else if and then
21: Assign k to
22: else
23: Assign k to
24: end if is a stability threshold
25: end for
26: return , ,
We first present a volcano plot summarizing the Cauchy-combined P-values () and the median correlation statistics () for all 76 metabolites (Fig. 4A). Three metabolites showed marginal significance: two were among the 17 metabolites shared between FRAN and iHMP, and one was unique to iHMP. None remained significant after controlling the false discovery rate at 0.05, likely due to limited signal strength. We then conducted a secondary analysis restricted to the 17 shared metabolites using only the target dataset (FRAN), fitting (4) directly with the observed metabolite abundances. Neither of the two previously identified shared metabolites reached marginal significance in this analysis. Although methodologically different, the contrast between these results suggests that our integrative framework may improve power for detecting microbiome–metabolome–IBD pathways. Additional details of the secondary analysis are provided in the Supplementary Materials, available as supplementary data at Bioinformatics online.
Figure 4.

(A) Volcano plot showing six IBD-associated metabolites identified by our multi-reference procedure. Triangle dots represent metabolites measured only in the iHMP dataset (iHMP-only), while solid circles represent metabolites shared between the iHMP and FRAN datasets (iHMP-share). Significant metabolites (P < .05) are highlighted. The dashed line marks the nominal significance level of . (B) Diagram of the microbiome–metabolome–IBD pathway for gentisic acid. Twelve microbial taxa were identified as participating in this pathway and are grouped into two functional categories.
The identified metabolites have been investigated in prior studies as candidate biomarkers for IBD. Sphinganine is a central precursor in sphingolipid biosynthesis. Sphingolipids regulate inflammatory signaling and immune cell functions, and their dysregulation has been directly implicated in pro-inflammatory pathways relevant to IBD pathogenesis (Sukocheva et al. 2020). N1-acetylspermidine is an acetylated polyamine associated with polyamine turnover. The polyamines are involved in both the differentiation of immune cells and in the regulation of the inflammatory reaction (Moinard et al. 2005). Gentisic acid can suppress inflammatory responses by controlling the production of nitric oxide and pro-inflammatory cytokines and modulating inflammation-related protein pathways (Kang et al. 2021). Lithocholic acid (LCA) glycine conjugate is the glycine-conjugated form of LCA, a secondary bile acid produced by gut bacteria. Patients with IBD consistently exhibit reduced levels of LCA, reflecting impaired microbial conversion of primary bile acids (Thomas et al. 2022). Nicotinic acid activates GPR109A, which is an anti-inflammatory receptor (Singh et al. 2014). 4-Pyridoxic acid is the major degradation product of vitamin B6 (Vrolijk et al. 2017) while significantly lower vitamin B6 levels was found in IBD patients than in healthy controls, suggesting disturbed vitamin B6 metabolism in IBD (Saibeni et al. 2003).
As an illustrative example, we present the microbiome–gentisic acid–IBD pathway in Fig. 4B, with the remaining pathways reported in the Supplementary Materials, available as supplementary data at Bioinformatics online. We identify three microbial taxa that indirectly influence FCP through gentisic acid, suggesting a potential mediating role of this metabolite in the association between these microbes and IBD. In contrast, nine microbial taxa exhibit direct effects on FCP that are independent of gentisic acid. Together, this pathway illustration provides an integrative view of how gentisic acid-related microbial taxa may contribute to IBD pathology.
To assess the sensitivity of our results to the choice of pseudo-abundance, we conducted additional analyses using two alternative values: one-half of the minimum observed nonzero relative abundance () and . We then applied the proposed framework separately to each transformed dataset obtained by adding one of the three pseudo-abundances. For each analysis, we obtained a P-value for the 76 metabolites of interest. We then compared the resulting significance levels by constructing pairwise scatter plots of the corresponding values and calculating the Pearson correlation coefficient for each pair, as shown in Fig. S10 in Section 2.3, available as supplementary data at Bioinformatics online.
Figure S10, available as supplementary data at Bioinformatics online, shows strong agreement among the three approaches for handling zeros. The highest correlation is observed between the results obtained using one-half of the minimum observed nonzero relative abundance and (Pearson correlation = 0.91), followed by the comparison between and (0.86). The correlation between one-half of the minimum observed nonzero relative abundance and is slightly lower (0.77), but still indicates substantial agreement. This pattern is consistent with the relative magnitudes of the pseudo-abundances: the two more similar pseudo-abundances yield the most similar inference results.
We further compared the metabolites identified as significant using a nominal significance level of .05. The overlap of significant metabolites across the three pseudo-abundance choices is shown in the Venn diagram in Fig. S11 in Section 2.3, available as supplementary data at Bioinformatics online. Using one-half of the minimum observed nonzero relative abundance (), , and yielded 3, 6, and 6 significant metabolites, respectively. Among these, two metabolites were consistently identified by all three analyses. Although the overall P-values are strongly correlated across different pseudo-abundance choices (Fig. S10, available as supplementary data at Bioinformatics online), the sets of metabolites declared significant are less consistent. This discrepancy likely reflects the use of a fixed significance threshold, where relatively small changes in P-values for metabolites near the .05 cutoff can lead to different significance decisions. Nevertheless, these findings suggest that the final list of significant metabolites may be sensitive to the choice of zero-handling strategy. Developing inference procedures that are more robust to zero handling is therefore an important direction for future research.
4 Discussion
In this article, we propose a SEM to integrate two complementary datasets and identify biologically meaningful microbiome–metabolome–host pathways. By design, our SEM is robust to unmeasured confounding, which often arises in microbiome–metabolite–host studies. While our approach is related to Yu et al. (2022), their work focuses on jointly analysing genetic–imaging–clinical pathways in a single complete dataset, addressing a different question and requiring distinct analytical tools.
A key innovation of our framework is the robust multi-reference procedure for log-contrast models. This eliminates the dependence on a specific reference in ALR-based regression with compositional microbiome data, a limitation commonly encountered in existing methods. Recently, a new reference-free method is proposed for modeling the association between compositional data and an outcome (Li et al. 2023). However, to the best of our knowledge, it is not immediately clear how this methodology can be adapted to the high-dimensional two-stage least squares framework considered in our article. Moreover, our primary focus is valid statistical inference for the mediation effect, whereas the applicability of Li et al. (2023) to this inference problem has not yet been established. Extending their methodology to our setting and investigating its inferential properties would be an interesting direction for future research.
There are several avenues for future improvement. First, our regularized permutation test may be conservative because the penalization in Step 2 reduces the effect of predicted metabolites, potentially lowering statistical power. An attractive alternative would be to apply an existing debiased-lasso method for high-dimensional inference (Van de Geer et al. 2014, Zhang and Zhang 2014). However, to the best of our knowledge, no existing debiasing procedure is applicable to the two-stage least squares framework with high-dimensional compositional covariates considered in this paper. Developing a debiasing procedure that is valid for our SEM framework would be an interesting direction for future research. Second, the Cauchy combination used to aggregate inference results across all references, while intended to increase power, can be overly influenced by a single extremely small P-value. Alternative inferential procedures may improve robustness and power. Third, although a continuous outcome is considered for the present study, extending the proposed framework to binary outcomes would broaden its applicability. Our framework consists of two components: estimation and inference. The estimation procedure can be naturally extended to binary outcomes by replacing the penalized least squares regression with penalized logistic regression. However, the proposed inference procedure was specifically developed for continuous outcomes. In particular, the permutation test relies on residuals to remove the effects of nuisance parameters while preserving the null hypothesis (Hemerik et al. 2021). Such residual-based permutation procedures are not directly applicable to binary outcomes because the response is discrete and the residuals no longer possess the same properties. Developing a valid and computationally efficient inference procedure for binary outcomes would therefore require additional methodological work and is an important direction for future research.
Finally, when multiple external cohorts are available, efficiency can be improved by leveraging all of them rather than using a single dataset. One possible strategy is to weight external datasets according to their informativeness. For example, for metabolites observed in both the target and external datasets, we can compute the correlation between predicted and observed values in the target. The average correlation across metabolites can then serve as a weight for each external dataset, allowing a proportional integration of information from all sources.
Supplementary Material
Contributor Information
Lei Fang, Department of Statistics, Miami University, Oxford, OH 45056, United States.
Chenglong Ye, Dr. Bing Zhang Department of Statistics, University of Kentucky, Lexington, KY 40506, United States.
Yue Wang, Department of Biostatistics and Informatics, University of Colorado Anschutz Medical Campus, Aurora, CO 80045, United States.
Author contributions
Lei Fang (Data curation [lead], Formal analysis [lead], Investigation [lead], Methodology [supporting], Writing—original draft [lead], Writing—review & editing [lead]), Chenglong Ye (Investigation [supporting], Writing—original draft [supporting]), and Yue Wang (Conceptualization [lead], Funding acquisition [lead], Investigation [supporting], Methodology [lead], Project administration [lead], Resources [lead], Supervision [lead], Writing—original draft [supporting], Writing—review & editing [supporting])
Supplementary material
Supplementary material is available at Bioinformatics online.
Conflict of interests
None declared.
Funding
Yue Wang was funded by National Institutes of Health (NIH) R03OD039969.
Data availability
The curated iHMP and FRAN microbiome and metabolomics data, together with associated clinical variables, are publicly available in the https://github.com/borenstein-lab/microbiome-metabolome-curated-data/wiki/Data-overview#data-access.
References
- Agus A, Clément K, Sokol H. Gut microbiota-derived metabolites as central regulators in metabolic disorders. Gut 2021;70:1174–82. 10.1136/gutjnl-2020-323071 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Aitchison J. The statistical analysis of compositional data. J R Stat Soc: Ser B (Methodol) 1982;44:139–60. 10.1111/j.2517-6161.1982.tb01195.x [DOI] [Google Scholar]
- Aitchison J. The Statistical Analysis of Compositional Data. Monographs on Statistics and Applied Probability. London: Chapman and Hall, 1986. [Google Scholar]
- Alkanani AK, Hara N, Gottlieb PA et al. Alterations in intestinal microbiota correlate with susceptibility to type 1 diabetes. Diabetes 2015;64:3510–20. 10.2337/db14-1847 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Benson AK, Kelly SA, Legge R et al. Individuality in gut microbiota composition is a complex polygenic trait shaped by multiple environmental and host genetic factors. Proc Natl Acad Sci U S A 2010;107:18933–8. 10.1073/pnas.1007028107 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Bingol K. Recent advances in targeted and untargeted metabolomics by NMR and MS/NMR methods. High Throughput 2018;7:9. 10.3390/ht7020009 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Bray JR, Curtis JT. An ordination of the upland forest communities of Southern Wisconsin. Ecol Monogr 1957;27:325–49. 10.2307/1942268 [DOI] [Google Scholar]
- Brune A. Symbiotic digestion of lignocellulose in termite guts. Nat Rev Microbiol 2014;12:168–80. 10.1038/nrmicro3182 [DOI] [PubMed] [Google Scholar]
- Clarke G, Stilling RM, Kennedy PJ et al. Minireview: gut microbiota: the neglected endocrine organ. Mol Endocrinol 2014;28:1221–38. 10.1210/me.2014-1108 [DOI] [PMC free article] [PubMed] [Google Scholar]
- De Angelis M, Piccolo M, Vannini L et al. Fecal microbiota and metabolome of children with autism and pervasive developmental disorder not otherwise specified. PLoS One 2013;8:e76993. 10.1371/journal.pone.0076993 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Dejea CM, Wick EC, Hechenbleikner EM et al. Microbiota organization is a distinct feature of proximal colorectal cancers. Proc Natl Acad Sci USA 2014;111:18321–6. 10.1073/pnas.1406199111 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Fang H, Huang C, Zhao H et al. CCLasso: correlation inference for compositional data through lasso. Bioinformatics 2015;31:3172–80. 10.1093/bioinformatics/btv349 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Franzosa EA, Sirota-Madi A, Avila-Pacheco J et al. Gut microbiome structure and metabolic activity in inflammatory bowel disease. Nat Microbiol 2019;4:293–305. 10.1038/s41564-018-0306-4 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Hemerik J, Thoresen M, Finos L. Permutation testing in high-dimensional linear models: an empirical investigation. J Stat Comput Simul 2021;91:897–914. 10.1080/00949655.2020.1836183 [DOI] [Google Scholar]
- Johansson MA, Sjögren YM, Persson J-O et al. Early colonization with a group of lactobacilli decreases the risk for allergy at five years of age despite allergic heredity. PLoS One 2011;6:e23031. 10.1371/journal.pone.0023031 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Kang M-J, Choi W, Yoo SH et al. Modulation of inflammatory pathways and adipogenesis by the action of gentisic acid in RAW 264.7 and 3T3-L1 cell lines. J Microbiol Biotechnol 2021;31:1079–87. 10.4014/jmb.2105.05004 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Lamichhane S, Sen P, Dickens AM et al. Gut metabolome meets microbiome: a methodological perspective to understand the relationship between host and microbe. Methods 2018;149:3–12. 10.1016/j.ymeth.2018.04.029 [DOI] [PubMed] [Google Scholar]
- Ley RE, Bäckhed F, Turnbaugh P et al. Obesity alters gut microbial ecology. Proc Natl Acad Sci U S A 2005;102:11070–5. 10.1073/pnas.0504978102 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Li G, Li Y, Chen K. It’s all relative: regression analysis with compositional predictors. Biometrics 2023;79:1318–29. 10.1111/biom.13703 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Liu Y, Xie J. Cauchy combination test: a powerful test with analytic p-value calculation under arbitrary dependency structures. J Am Stat Assoc 2020;115:393–402. 10.1080/01621459.2018.1554485 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Lloyd-Price J, Arze C, Ananthakrishnan AN et al. ; IBDMDB Investigators. Multi-omics of the gut microbial ecosystem in inflammatory bowel diseases. Nature 2019;569:655–62. 10.1038/s41586-019-1237-9 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Ma S, Shungin D, Mallick H et al. Population structure discovery in meta-analyzed microbial communities and inflammatory bowel disease using MMUPHin. Genome Biol 2022;23:208. 10.1186/s13059-022-02753-4 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Mallick H, Franzosa EA, Mclver LJ et al. Predictive metabolomic profiling of microbial communities using amplicon or metagenomic sequences. Nat Commun 2019;10:3136. 10.1038/s41467-019-10927-1 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Meinshausen N, Bühlmann P. Stability selection. J R Stat Soc Ser B: Stat Method 2010;72:417–73. 10.1111/j.1467-9868.2010.00740.x [DOI] [Google Scholar]
- Moinard C, Cynober L, de Bandt J-P. Polyamines: metabolism and implications in human diseases. Clin Nutr 2005;24:184–97. 10.1016/j.clnu.2004.11.001 [DOI] [PubMed] [Google Scholar]
- Moniuszko A, Wiśniewska A, Rydzewska G. Biomarkers in management of inflammatory bowel disease. Prz Gastroenterol 2013;8:275–83. 10.5114/pg.2013.38728 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Muller E, Algavi YM, Borenstein E. The gut microbiome-metabolome dataset collection: a curated resource for integrative meta-analysis. NPJ Biofilms Microbiomes 2022;8:79. 10.1038/s41522-022-00345-5 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Quince C, Walker AW, Simpson JT et al. Shotgun metagenomics, from sampling to analysis. Nat Biotechnol 2017;35:833–44. 10.1038/nbt.3935 [DOI] [PubMed] [Google Scholar]
- Rahman S, O’Connor AL, Becker SL et al. Gut microbial metabolites and its impact on human health. Ann Gastroenterol 2023;36:360–8. 10.20524/aog.2023.0809 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Saibeni S, Cattaneo M, Vecchi M et al. Low vitamin B6 plasma levels, a risk factor for thrombosis, in inflammatory bowel disease: role of inflammation and correlation with acute phase reactants. Am J Gastroenterol 2003;98:112–7. 10.1111/j.1572-0241.2003.07160.x [DOI] [PubMed] [Google Scholar]
- Shi P, Zhang A, Li H. Regression analysis for microbiome compositional data. Ann Appl Stat 2016;10:1019–40. 10.1214/16-AOAS928 [DOI] [Google Scholar]
- Singh N, Gurav A, Sivaprakasam S et al. Activation of Gpr109a, receptor for niacin and the commensal metabolite butyrate, suppresses colonic inflammation and carcinogenesis. Immunity 2014;40:128–39. 10.1016/j.immuni.2013.12.007 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Sukocheva OA, Lukina E, McGowan E et al. Sphingolipids as mediators of inflammation and novel therapeutic target in inflammatory bowel disease. Adv Protein Chem Struct Biol 2020;120:123–58. 10.1016/bs.apcsb.2019.11.003 [DOI] [PubMed] [Google Scholar]
- Thomas JP, Modos D, Rushbrook SM et al. The emerging role of bile acids in the pathogenesis of inflammatory bowel disease. Front Immunol 2022;13:829525. 10.3389/fimmu.2022.829525 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Turnbaugh PJ, Ley RE, Hamady M et al. The human microbiome project. Nature 2007;449:804–10. 10.1038/nature06244 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Van de Geer S, Bühlmann P, Ritov Y et al. On asymptotically optimal confidence regions and tests for high-dimensional models. Ann Statist 2014;42:1166–202. [Google Scholar]
- Visconti A, Le Roy CI, Rosa F et al. Interplay between the human gut microbiome and host metabolism. Nat Commun 2019;10:4505. 10.1038/s41467-019-12476-z [DOI] [PMC free article] [PubMed] [Google Scholar]
- Vrolijk MF, Opperhuizen A, Jansen EHJM et al. The vitamin B6 paradox: supplementation with high concentrations of pyridoxine leads to decreased vitamin B6 function. Toxicol In Vitro 2017;44:206–12. 10.1016/j.tiv.2017.07.009 [DOI] [PubMed] [Google Scholar]
- Yachida S, Mizutani S, Shiroma H et al. Metagenomic and metabolomic analyses reveal distinct stage-specific phenotypes of the gut microbiota in colorectal cancer. Nat Med 2019;25:968–76. 10.1038/s41591-019-0458-7 [DOI] [PubMed] [Google Scholar]
- Yu D, Wang L, Kong D et al. Mapping the genetic–imaging–clinical pathway with applications to Alzheimer’s disease. J Am Stat Assoc 2022;117:1656–68. 10.1080/01621459.2022.2087658 [DOI] [PMC free article] [PubMed] [Google Scholar]
- Zhang C-H, Zhang SS. Confidence intervals for low dimensional parameters in high dimensional linear models. J R Stat Soc: Ser B: Stat Methodol 2014;76:217–42. 10.1111/rssb.12026 [DOI] [Google Scholar]
- Zhao N, Chen J, Carroll IM et al. Testing in microbiome-profiling studies with MiRKAT, the microbiome regression-based kernel association test. Am J Hum Genet 2015;96:797–807. 10.1016/j.ajhg.2015.04.003 [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
Data Availability Statement
The curated iHMP and FRAN microbiome and metabolomics data, together with associated clinical variables, are publicly available in the https://github.com/borenstein-lab/microbiome-metabolome-curated-data/wiki/Data-overview#data-access.
