Next Article in Journal
Untargeted Metabolomics and Polyamine Profiling in Serum before and after Surgery in Colorectal Cancer Patients
Previous Article in Journal
Good Cop, Bad Cop: The Opposing Effects of Macrophage Activation State on Maintaining or Damaging Functional β-Cell Mass
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Workflow for Missing Values Imputation of Untargeted Metabolomics Data

by
Tariq Faquih
1,
Maarten van Smeden
2,
Jiao Luo
1,
Saskia le Cessie
1,3,
Gabi Kastenmüller
4,5,
Jan Krumsiek
6,
Raymond Noordam
7,
Diana van Heemst
7,
Frits R. Rosendaal
1,
Astrid van Hylckama Vlieg
1,
Ko Willems van Dijk
8,9,10 and
Dennis O. Mook-Kanamori
1,11,12,*
1
Department of Clinical Epidemiology, Leiden University Medical Center, Postal Zone C7-P, PO Box 9600, 2300 RC Leiden, The Netherlands
2
Julius Center for Health Sciences and Primary Care, University Medical Centre Utrecht, Utrecht University, 8, 3584 Utrecht, The Netherlands
3
Department of Biomedical Data Sciences, Section Medical Statistics and Bioinformatics, Leiden University Medical Center, 2, 2333 Leiden, The Netherlands
4
Institute of Bioinformatics and Systems Biology, Helmholtz-Zentrum München, 85764 Neuherberg, Germany
5
Institute of Experimental Genetics, Genome Analysis Center, Helmholtz Zentrum München, 85764 Neuherberg, Germany
6
Department of Physiology, Institute for Computational Biomedicine, Englander Institute for Precision Medicine, Weill Cornell Medicine, New York, NY 10065, USA
7
Department of Internal Medicine, Section of Gerontology and Geriatrics, Leiden University Medical Center, 2333ZA Leiden, The Netherlands
8
Einthoven Laboratory for Experimental Vascular Medicine, Leiden University Medical Center, 2, 2333 Leiden, The Netherlands
9
Department of Internal Medicine, Division of Endocrinology, Leiden University Medical Center, 2, 2333 Leiden, The Netherlands
10
Department of Human Genetics, Leiden University Medical Center, 2, 2333 Leiden, The Netherlands
11
Department of Public Health and Primary Care, Leiden University Medical Center, 2, 233 Leiden, The Netherlands
12
Metabolon Inc., Morrisville, NC 27560, USA
*
Author to whom correspondence should be addressed.
Metabolites 2020, 10(12), 486; https://doi.org/10.3390/metabo10120486
Submission received: 21 October 2020 / Revised: 12 November 2020 / Accepted: 25 November 2020 / Published: 26 November 2020
(This article belongs to the Section Bioinformatics and Data Analysis)

Abstract

:
Metabolomics studies have seen a steady growth due to the development and implementation of affordable and high-quality metabolomics platforms. In large metabolite panels, measurement values are frequently missing and, if neglected or sub-optimally imputed, can cause biased study results. We provided a publicly available, user-friendly R script to streamline the imputation of missing endogenous, unannotated, and xenobiotic metabolites. We evaluated the multivariate imputation by chained equations (MICE) and k-nearest neighbors (kNN) analyses implemented in our script by simulations using measured metabolites data from the Netherlands Epidemiology of Obesity (NEO) study (n = 599). We simulated missing values in four unique metabolites from different pathways with different correlation structures in three sample sizes (599, 150, 50) with three missing percentages (15%, 30%, 60%), and using two missing mechanisms (completely at random and not at random). Based on the simulations, we found that for MICE, larger sample size was the primary factor decreasing bias and error. For kNN, the primary factor reducing bias and error was the metabolite correlation with its predictor metabolites. MICE provided consistently higher performance measures particularly for larger datasets (n > 50). In conclusion, we presented an imputation workflow in a publicly available R script to impute untargeted metabolomics data. Our simulations provided insight into the effects of sample size, percentage missing, and correlation structure on the accuracy of the two imputation methods.

1. Introduction

Metabolomics studies have seen a steady growth due to the development and implementation of affordable and high-quality metabolomics platforms. These platforms can be split into two categories: targeted and untargeted metabolomics platforms based on their approach to metabolite identification [1,2]. Targeted platforms are focused on a known prespecified set of metabolites, while untargeted platforms aim to detect as many metabolites as possible in the sample without the need for explicit prior knowledge of their identity. The metabolite signatures detected (i.e., mass to charge ratio, m/z, or retention times) are subsequently matched in a metabolite library to determine their identity. Currently, both targeted and untargeted platforms can detect over 1000 metabolites in a single biological sample (e.g., blood, saliva, and urine). A typical issue with both these platform types is missing values from the measurement.
Missing values in metabolomics data are problematic for subsequent analyses, may be neglected, and are often mishandled or ignored. A common misconception is that missing values in metabolomics data are exclusively due to metabolites with a very low concentration, i.e., below the limit of detection of the instrument. Although in many circumstances the majority of missing values can be due to low concentrations, it has been shown that missing values can also be caused by biological and/or technical variation [3,4,5]. Based on the assumption that not reaching the limit of detection exclusively causes missingness, missing values are often handled with one or more of the following procedures:
(1)
For each metabolite the missing values are replaced (“imputed”) with a single value, such as the minimum detection level or half the minimum detection level. This approach results in overrepresentation of a single value in the population distribution. This may affect subsequent analyses and may cause biased results, regardless of the cause of missing values [5,6]. Furthermore, metabolites could be missing in some individuals because they are not biologically present in their system. Therefore, imputing these missing values will cause bias in the analysis. For example, if the metabolites for metformin are imputed, both diabetic patients who use the drug as well as and non-diabetic individuals who do not use the drug will have values for the it. This is a prominent issue in platforms such as Metabolon™ (Metabolon Inc., Durham, NC, USA) that include xenobiotic metabolites (e.g., metabolites from external sources such as medications).
(2)
Metabolites with a missing percentage above an arbitrary cut-off value (for example 20%) are removed from the dataset due to “too much missingness” regardless of the metabolite identity. By applying a cut-off above which metabolites are removed from the dataset, or, in the most extreme case only using the complete cases, data are unnecessarily discarded, that could have been of importance to the research question. Furthermore, this exclusion can affect further pathway analysis, such as metabolite set enrichment analysis, that explore possible pathway connections for the measured metabolites [7].
Several studies have evaluated imputation methods for metabolomics data. The consensus from these studies has so far been that imputation using half the minimum value leads to more bias than other methods and, consequently, this method is discouraged [3,8]. One alternative imputation method that has been recommended for metabolomics is the k-nearest neighbors (kNN) imputation [6,9]. An extensive simulation was performed that evaluated and compared 31 methods of imputation in a simulated untargeted metabolomics data provided by the Metabolon™ platform [6]. These methods included univariate methods such as half-minimum imputation and multivariate methods such as variations of kNN and multivariate imputation by chained equations (MICE). Two methods were concluded to have the best performance:
(1)
kNN on observations with variable pre-selection (“kNN-obs-sel”), a two-step method that incorporates the standard kNN algorithm with a preselection of a group of metabolites that are most correlated with the metabolite with missing values (i.e., auxiliary metabolites). Therefore, the neighbors selected by kNN will have similar metabolomic profiles [6].
(2)
MICE using the predictive mean matching method (“MICE-pmm”). Like kNN-obs-sel, the most correlated metabolites were used for the imputation. The imputed values are then selected from distribution of possible values to produce multiple imputed datasets [10,11,12].
In this paper, we expand upon the meticulous evaluation of the imputation methods by Do et al. [6], which was performed on an older version of the metabolomics platform that detects a smaller set of metabolites (n = 517). Furthermore, we set out to take unannotated (i.e., unidentified metabolites in the library) and xenobiotic metabolites into account. The recent Metabolon™ panel in use (Discovery HD4) has increased the number of metabolites to >1000, which includes more unannotated and xenobiotic metabolites. As more scientists are using metabolomics data in their research, it is helpful to have a user-friendly workflow for imputation using the best available methods. We provided this imputation workflow and a user-friendly R script to streamline the imputation of the Metabolon™ HD4 panel using kNN-obs-sel and MICE-pmm. Furthermore, we evaluated the imputations by the script in several scenarios with different missingness conditions by a resampling simulation analysis using measured metabolomics data from the Netherlands Epidemiology of Obesity (NEO) study.

2. Results

2.1. Metabolomic Data Characteristics

Metabolomics measurements in 599 individuals between the ages of 45 and 65 with normal BMI distribution from the NEO study identified 1365 metabolites. Detailed information regarding the population are provided in the Methods section and Appendix A. Known metabolites were annotated with their chemical name, super pathway, sub pathway, compound identifiers from various metabolite databases, and information regarding their biochemical properties. A total of 840 metabolites were from various endogenous pathways, 229 metabolites were characterized as xenobiotics, and 296 metabolites were unannotated (lacking information regarding chemical name and pathway). Of the 1365 identified metabolites, 800 (58.6%) contained missing values and the median number of missing metabolites per observation was 228 (38%) (Table 1).
We plotted the distribution of missing values in each metabolite group (Figure 1). The distribution of the number of missing values of the unannotated metabolites was similar to that of the endogenous metabolites rather than the xenobiotic metabolites. This suggests that most unannotated metabolites are most likely from an endogenous source, similar to the annotated endogenous metabolites, and are most likely expected to be present in all our participants.
The Pearson’s pairwise-complete correlation matrix for the endogenous and unannotated metabolites was calculated using all the metabolites (complete with no missing values and incomplete). For each incomplete metabolite we selected up to 10 complete metabolites with the highest absolute Pearson’s correlation (auxiliary metabolites). If the metabolite was not correlated with 10 metabolites (due to high missingness), then we selected the available correlated metabolites. We then calculated the mean value of the Pearson’s correlations for these metabolites. Figure 2 shows the distribution of the mean of the auxiliary absolute correlations with further details in Table A1. The 82% of the incomplete metabolites had a mean absolute Pearson’s correlation coefficient lower than 0.5 with their auxiliary metabolites. Overall, the median of the median absolute Pearson’s correlation coefficient was 0.4 (0.09–0.89), indicating a generally low intercorrelation between the metabolites.

2.2. Availability

The imputation script [13] streamlines the workflow by calculating the correlation matrix, selecting the auxiliary metabolites, and imputing the missing values of the metabolites using the provided data from the user. The script requires a dataset, a list of xenobiotic and non-xenobiotic metabolites (endogenous/unannotated), and a choice for the method of imputation (MICE-pmm or kNN-obs-sel). The script and example files can be found at: https://github.com/tofaquih/imputation_of_untargeted_metabolites.

2.3. Performance Evaluation

To evaluate our imputation framework, we applied it to impute metabolites with missing values in the measured NEO dataset (n = 599) using kNN-obs-sel and MICE-pmm. All metabolites were imputed apart from 12 metabolites (3 endogenous, 9 unannotated) in the dataset that had >90% missingness and were subsequently treated as xenobiotic and imputed to 0. As mentioned in the Methods section, extremely high missingness limits the amount of data needed to impute the metabolites and to find auxiliary metabolites. High missingness in the 3 endogenous metabolites could have been caused by technical or biological issues, or they could represent misannotated xenobiotic metabolites. The 9 unannotated metabolites were likely xenobiotic metabolites.
Simulations were performed to compare the performance of the imputation method (MICE-pmm or kNN-obs-sel). As detailed in the Methods section, we generated 144 resampling simulation scenarios, using four metabolites from independent pathways and varying mean correlations with auxiliary metabolites (PC(32:2) (mean absolute correlation = 0.64), urate (mean absolute correlation = 0.49), glutamate (mean absolute correlation = 0.49), succinylcarnitine (mean absolute correlation = 0.36)), three sample sizes (50, 150, 599), three percentage of missing (15%, 30%, 60%), and two missing mechanisms missing mechanisms (missing completely at random (MCAR) and probabilistic limit of detection (PLoD)). The percentage biases from the simulation are presented in Figure 3 and Table 2. Root mean squared errors (RMSE) are shown in Figure 4, Table A5, and Table A6. The mean and standard deviation of the estimates from the simulation are provided in Table A3 and Table A4 using MCAR and PLoD mechanisms, respectively. We used nested loop plots [14] to produce all the figures.

2.3.1. Sample Size

We observed a decrease of bias and RMSE as the sample size increased (Figure 3 and Figure 4). This trend was consistent for MICE-pmm for each metabolite, with the percentage bias median (range): 8.2 (0.3–87.4) in n = 50 decreasing to median (range): 0.8 (0.1–9.7) in n = 599. However, increasing sample size did not improve imputation with kNN-obs-sel. Overall, percentage bias was median (range): 4.7 (0.2–66.1) in n = 50, median (range): 5.7 (0.5–72.7) in n = 150, and median (range): 5.2 (0.1–54.3). Furthermore, in some scenarios, bias and RMSE increased in larger sample sizes even with the same missing percentage and missing mechanism; this was particularly noticeable for succinylcarnitine (mean absolute correlation = 0.36) where the percentage bias increased in 60% missing from 8.3% in n = 50, to 46.1% in n = 150, and 54.3% in n = 599. Finally, for sample sizes of n = 50 and 150, MICE-pmm had lower bias than kNN-obs-sel but a RMSE higher or similar to kNN-obs-sel.

2.3.2. Percentage of Missing

In scenarios with 15% and 30% missing, MICE-pmm and kNN-obs-sel showed low bias and RMSE across all sample sizes. At 15% missing, MICE-pmm had a percentage bias of median (range): 0.7 (0.1–12.7), while kNN-obs-sel had a percentage bias of median (range): 1.9 (0.1–13.8). At 30% missing, MICE-pmm had a percentage bias of median (range): 2.0 (0.1–26.2) and kNN-obs-sel had a percentage bias of median (range): 4.4 (1.1–31.9). Finally, in 60% missing MICE-pmm had a percentage bias of median (range): 7.8 (0.1–87.4) and kNN-obs-sel had a percentage bias of median (range): 14.7 (1.9–72.7). Overall, MICE-pmm had lower bias in all missing percentages than kNN-obs-sel. However, the percentage bias for kNN-obs-sel was often lower than that of MICE-pmm at 30% and 60% missing in n = 50.

2.3.3. Correlation Strength with the Auxiliary Metabolites

We compared the percentage bias and RMSE of both imputation methods for the four metabolites to assess the influence of correlation strength of the auxiliary metabolites as shown in Table 2 and Table A2 and Figure 3 and Figure 4. We observed that availability of auxiliary metabolites with higher correlation for the imputation greatly reduced the bias and RMSE in both methods. In PC(32:2), the metabolite with the highest mean correlation (mean absolute correlation = 0.64), had the lowest bias overall. Percentage bias was median (range): 1.9 (0.2–19.5) with the MICE-pmm imputation and median (range): 2.3 (0.1–14.5) with kNN-obs-sel imputation. Glutamate (mean absolute correlation = 0.49) had median (range): 2.1 (0.1–40.2) percentage bias with MICE-pmm imputation and median (range): 2.7 (0.2–15.1) with kNN-obs-sel. Similarly, imputation of urate (mean absolute correlation = 0.49) using MICE-pmm had median (range): 3.8 (0.1–87.4) percentage bias and median (range): 6.2 (0.5–66.1) using kNN-obs-sel. In contrast, the percentage bias was much higher for the metabolite with the lowest mean correlation, Succinylcarnitine (mean absolute correlation = 0.36), with median (range): 2.6 (0.1–34.8) percentage bias using MICE-pmm imputation and median (range): 15.5 (1.8–72.7) with kNN-obs-sel. Moreover, the bias reached very high percentages in urate and succinylcarnitine compared to PC(32:2) and glutamate in the n = 50 subset.

2.3.4. Missing Mechanisms

We used two mechanisms for missingness, MCAR and PLoD, in our simulations. Since PLoD is fundamentally missing not at random (MNAR), causing lower concentrations to have a higher likelihood of missingness, we examined how PLoD affects the performance of MICE-pmm and kNN-obs-sel compared to MCAR scenarios. MCAR scenarios had a percentage bias median (range): 1.9 (0.1–40.2) with MICE-pmm imputation and median (range): 5.3 (0.2–72.7) with kNN-obs-sel. PLoD scenarios had a percentage bias median (range): 3.2 (~0–87.4) with MICE-pmm imputation and median (range): 4.3 (0.1–66.1) with kNN-obs-sel. However, the RMSE (Figure 4, Table A5 and Table A6) was lower in PLoD for MICE-pmm (median (range): 11.1 (1.8–79)) than in MCAR (median (range): 14.3 (2.0–78.0)) and similarly lower for kNN-obs-sel in PLoD scenarios (median (range): 12.1 (2.1–70.3)) than MCAR (median (range): 16.5 (2.6–103.9)). Overall, imputing in PLoD scenarios lead to higher bias but lower RMSE compared to MCAR.

3. Discussion

Several simulation studies have evaluated different imputation methods for missing data in metabolomic datasets [3,6,9,15,16]. Nevertheless, the “half the minimum” method of imputation remains in use despite studies showing its sub-optimal performance [3,6,9,15,16]. In this study, we followed up on previous work and provided a framework and complementary R script on GitHub [13] that streamlines the imputation of untargeted metabolomics data. The script provides univariate imputation of zero for missing values considered to be truly absent in xenobiotics and two options of multivariate imputation methods for the remaining metabolites.
Overall, for the four metabolites we used in the simulation, we observed several factors that influenced the performance of each imputation method with different degrees. In the four metabolites we used, MICE-pmm performed better overall across different simulated scenarios. This performance is especially better in PLoD, which represents a missing mechanism similar to that of real metabolomics data [6]. MICE-pmm performance decreased the most in smaller sample sizes, somewhat less by the metabolite auxiliary correlation and the least by the missing percentage. Interestingly, the negative effect of missing percentage diminished as the sample size increased (n = 150 and n = 599). On the other hand, unlike MICE-pmm, kNN-obs-sel performance was decreased most by a higher percentage of missingness and low metabolite auxiliary correlation, which was not improved by increased sample size. A possible explanation is the nature of the kNN-obs-sel method. kNN-obs-sel focused on finding the nearest neighbors based on the correlated metabolites. If it failed to find strongly correlated metabolites, due to the metabolite naturally a having low correlation or due to a large amount of missing values, it selected weak neighbors. Therefore, even at larger sample sizes (150 and 599) the performance of the kNN-obs-sel method remained poor if the missing percentage was large and the metabolite had poor correlation.

3.1. Advantages and Disadvantages of MICE-pmm for Metabolomics

Unlike kNN imputations, we found few papers in the literature regarding the use of MICE imputation for metabolomics. The MICE-pmm imputation is a more intricate method for generating the imputation values. First, the imputation is repeated multiple times in order to assess the uncertainty of the imputation and provide standard errors of the estimates. Second, MICE-pmm imputation is more compatible with both normally distributed and skewed metabolites than kNN [10]. Third, MICE imputation utilizes discrete and continues variables for imputation. Therefore, MICE-pmm can include additional biologically relevant predictors and the outcome of the analysis of interest, improving the quality of the imputation [17]. These features explain the robustness of MICE-pmm in situations with low correlated auxiliary variables and high missingness.
However, MICE-pmm has some disadvantages. First, small sample sizes negatively affected the performance of MICE-pmm because this forces duplication and reuse of the same individuals [10]. Second, MICE imputation may require more computational run time and is somewhat more complicated to use than kNN because multiple imputed datasets are generated that require a pooling step for the analysis. We shortened computational time by using the latest MICE R package and by setting the number of multiple imputations to 5, which has been shown to be a suitable number of imputations [10]. This caused the running time for the complete imputation using MICE-pmm to be equal to that of kNN-obs-sel for the NEO dataset (n = 599). Furthermore, to test the speed of the script, we duplicated and stacked the NEO dataset to create larger datasets (n = 5400 and n = 20,000); MICE-pmm completed the imputations faster than kNN-obs-sel (Table A7). Third, with MICE-pmm it is not possible to apply further analysis such as lasso regression or random forest, which are common analysis methods used in metabolomics [7,18,19]. This is because MICE-pmm uses multiple datasets with Rubin’s Rules to pool the estimates of the analysis per dataset. One solution is to use the kNN-obs-sel method, as it always creates a single dataset for analysis. A second alternative would be to use MICE-pmm with a single imputation [m = 1], which can be specified in our script, and use that single dataset in the multivariate analysis. It should be noted that MICE-pmm with m = 1 still performed better than kNN-obs-sel for the larger sample sizes (see Table A2 and Table A6 and Figure A1 and Figure A2).

3.2. Limitations

Several methodological issues should be considered. Firstly, our evaluation was done using 599 samples, limited by available metabolomics data in the NEO study. Although this number is not particularly small, future research should be performed in larger datasets. Secondly, we assumed that all missing xenobiotics values are truly missing and replaced them by zero. This could be explored further by incorporating MICE-pmm or kNN-obs-sel to specifically impute xenobiotic metabolites from the same medication sources in persons taking the medication. Furthermore, it could be possible to use questionnaire and clinical data as imputation predictors in MICE-pmm to impute related xenobiotic metabolites. Thirdly, we did not explore alternative methods for MICE to handle small data sizes, such as regulation and penalization. Fourth, our simulation did not evaluate the variance estimators such as type-I and type-II errors or confidence interval coverage. Fifth, metabolites with very large missingness will have high bias and error in the imputation and should be interpreted with caution. Finally, the data do not provide the explicit cause of the missing values and, therefore, we could only assume if the values were truly missing, missing completely at random, or missing due to other reasons. Future studies which explore the causes of missingness will also allow us to impute the missingness more effectively.

4. Materials and Methods

4.1. Population Characteristics

The resampling simulation analyses were performed in the NEO study. This study has been extensively described elsewhere [20] and in Appendix A. The NEO study was accepted by the Medical Ethics committee of the Leiden University Medical Center under protocol P08.109. The study is also registered at clinicaltrials.gov under number NL21981.058.08/P08.109. All participants gave written informed consent [20]. Fasting state serum samples from a sub-population (n = 599) of the NEO study were sent for untargeted metabolomics measurements at Metabolon Inc. (Durham, NC, USA) using their Metabolon™ Discovery HD4 platform. In brief, this process involves four independent ultra-high-performance liquid chromatography mass spectrometry (UHPLC-MS/MS) platforms [21,22]. Two platforms used positive ionization reverse phase chromatography, one used negative ionization reverse phase chromatography, and one used hydrophilic interaction liquid chromatography (HILIC) negative ionization [22]. In total, 1365 serum metabolites were measured which included 840 endogenous, 296 unannotated, and 229 xenobiotic metabolites.

4.2. Imputation Methods

Following our examination of the missing data distribution in the NEO study (Figure 2), we decided the xenobiotic metabolites and non-xenobiotic metabolites (endogenous/unannotated) with different imputations. For xenobiotic metabolites, we assumed missing values are truly missing values. For example, when a medication metabolite concentration is missing, it is most likely that the participant is not taking the medication. Therefore, we decided to impute xenobiotic metabolites to zero, as imputing the values (with MICE, kNN, or half-min) would cause bias due to skewed distribution and false positives. For the non-xenobiotic metabolites (endogenous/unannotated), the missing pattern suggests that the unannotated metabolites are most likely endogenous. Therefore, we decided to impute the endogenous and the unannotated metabolites as a single group using the multivariate imputation methods of MICE-pmm and kNN-obs-sel. For these two multivariate methods, we first estimated a correlation matrix for all applicable/non-xenobiotic metabolites from which to select 10 auxiliary metabolites to be used for imputation.
For non-xenobiotic metabolites, we assumed that they are metabolites with truly missing values only if less than 90% of values were missing. This cut-off was necessary for multiple reasons: (1) it became nearly impossible to find auxiliary metabolites for imputation, (2) unannotated metabolites with high missing values are likely xenobiotic and therefore most likely truly missing, and (3) it became statistically problematic to perform multivariate imputation with such high missingness—particularly in small sample sizes [23].
In this study, we used MICE-pmm with 10 auxiliary metabolites to impute the missing values and generated 5 imputed datasets (m = 5). In addition to the auxiliary metabolites, we included further predictors by adding the clinical variables for the outcome (BMI) and the covariates (age and sex) used in the analysis model for the MICE-pmm imputation. The addition of these variables is required in MICE imputations to avoid bias in the results [23,24]. We used kNN-obs-sel only with 10 auxiliary metabolites to impute the missing values. Details regarding the imputation methods are provided in Appendix A. In our script, we incorporated the R package mice version 3.6.0 [10] for the MICE-pmm imputations and the package VIM version 4.8.0 [25] in the kNN-obs-sel imputations.

4.3. Evaluation Analysis and Missing Value Simulation

For the simulation, the analysis of interest was an ordinary least squares regression model with body mass index (BMI) as the outcome and age, sex, and a selected metabolite as the exposures. For the purpose of our study, BMI was used as the outcome for two reasons: (1) BMI is a variable that was measured in all our participants, and (2) BMI is strongly associated with many metabolites and commonly studied in metabolomics [26].
Four metabolites were used, selected based on the following criteria: (1) the metabolite had no missing values in the original NEO dataset, (2) the metabolite must have a strong association with BMI in our Metabolon™ data as well as in the literature using Metabolon™ [26], (3) the four metabolites must be from different biological pathways, and (4) the metabolites must have different mean correlations with their auxiliary metabolites. We found 6 out of 473 complete endogenous metabolites in NEO that fulfilled these criteria. We then narrowed the selection to one metabolite per pathway. Accordingly, we selected four metabolites: PC(32:2) (mean absolute correlation 0.64) from the lipid super pathway; succinylcarnitine (mean absolute correlation = 0.36) from the energy super pathway, the nucleotide urate (mean absolute correlation 0.49), and the amino acid glutamate (mean absolute correlation 0.49). Information regarding the metabolites is provided in Table 3.
We compared the performance of the two imputation methods by simulating missing values using the NEO dataset (n = 599). All simulations were performed on three datasets: the original dataset of 599 participants, and on two randomly sampled sub datasets of size n = 150 and n = 50. The distribution of age, sex, and BMI was maintained in the sub datasets of 50 and 150 individuals. We used the same sub datasets for the all corresponding simulation scenarios. Generating the subsets with different random sampling did not change the estimates drastically (not shown). It should be pointed out that the selected auxiliary metabolites differed slightly between the sub datasets. Metabolite levels were log transformed and standardized (mean of 0 and variance of 1). We calculated the estimates for each metabolite in the complete datasets separately to be used later for the bias and RMSE calculations. In the different simulation scenarios, we induced different percentages of missingness (15, 30, and 60%), and under two different mechanisms, MCAR and PLoD. In the PLoD missing scenarios, the odds of a value being missing increased as the concentration decreases. The total number of missing values was divided per quantile of the metabolite as follows: 40% into the lower quantile, 50% into the middle quantile, and 10% in the upper quantile.
The evaluation was done by (1) performing the linear regression analysis and obtaining the estimate of the regression coefficient using the complete metabolites data in each subset (Table 3), (2) simulating missing values, (3) imputing missing values using the two imputation methods, (4) estimating the regression coefficient using the imputed data, and (5) evaluating the difference between the estimate of the complete data for that subset and the estimate using the imputed methods, (6) repeating step 2 to 5 1000 times per simulation scenario. The performance of the imputation methods was evaluated using the following measures: raw bias, which is the difference between the real estimate and the mean of the simulations estimates, which can be a positive or a negative value; percentage bias, which is the raw bias divided by real estimate for easier interpretation and comparison [27]; the RMSE, which is the square root of the mean squared difference between estimated; and true value, this measure combines the bias and variance of the simulated estimates into a single measure and represents the precision of the method [28] (Appendix A).
Thus, in total, we used three datasets (n = 50, 150, 599), four metabolites (PC(32:2), succinylcarnitine, urate, glutamate), three missingness percentages (15%, 30%, 60%), two missing mechanisms (MCAR and PLoD), and evaluation by two imputation methods (kNN-obs-sel and MICE-pmm) for a total of 144 possible scenarios. Each of these scenarios was repeated 1000 times.

4.4. Imputation Workflow

To simplify the procedure of imputing missing data, we wrote an R script that calculates the correlation matrix between the different metabolites, selects the auxiliary metabolites with the largest correlation, imputes the xenobiotic metabolites with univariate imputation, and imputes the endogenous metabolites with a multivariate imputation (either kNN-obs-sel or MICE-pmm), which can be found on our GitHub repository [13].

5. Conclusions

In conclusion, we provided a workflow for handling missing values in untargeted metabolomics data using univariate imputation for xenobiotics and multivariate imputation using MICE-pmm or kNN-obs-sel for endogenous and unannotated metabolites. We further evaluated MICE-pmm and kNN-obs-sel in different simulated scenarios. Our evaluation showed that the performance of both methods is affected by three different factors, namely the metabolite mean correlation with auxiliary metabolites, the sample size, and the missing percentage. For MICE-pmm, sample size was the primary factor affecting bias and error inversely. For kNN-obs-sel, the primary factor affecting bias and RMSE was the metabolite correlation with the predictors, which, when high, can provide low bias and RMSE even in small sample sizes (n = 50). Since most of our metabolites had low mean correlation, MICE-pmm provided consistently higher performance measures than kNN-obs-sel and, as a result, we suggest using MICE-pmm imputation for untargeted metabolomics, particularly for larger datasets (n > 50).

Author Contributions

Conceptualization, T.F., A.v.H.V., K.W.v.D., D.O.M.-K., G.K. and J.K.; formal analysis, T.F.; software, T.F.; funding acquisition, D.v.H., R.N., K.W.v.D. and F.R.R.; methodology, S.l.C., M.v.S. and T.F.; resources, R.N. and F.R.R.; supervision A.v.H.V., K.W.v.D., D.O.M.-K. and M.v.S.; validation, J.L.; writing—original draft, T.F.; writing—review & editing, all authors. All authors have read and agreed to the published version of the manuscript.

Funding

The NEO study is supported by the participating Departments, the Division and the Board of Directors of the Leiden University Medical Centre, and by the Leiden University, Research Profile Area ‘Vascular and Regenerative Medicine’. The analyses of metabolites are funded by the VENI grant (ZonMW-VENI Grant 916.14.023) of D.O.M.-K. D.v.H. and R.N. were supported by a grant of the VELUX Stiftung [grant number 1156]. J.L. was supported by the China Scholarship Counsel [No. 201808500155]. T.F. was supported by the King Abdullah Scholarship Program and King Faisal Specialist Hospital & Research Center [No. 1012879283].

Acknowledgments

The authors of the NEO study thank all individuals who participated in the Netherlands Epidemiology in Obesity study, all participating general practitioners for inviting eligible participants, and all research nurses for collection of the data. We thank the NEO study group, Pat van Beelen, Petra Noordijk and Ingeborg de Jonge for the coordination, lab, and data management of the NEO study.

Conflicts of Interest

Dennis Mook-Kanamori is a part-time clinical research consultant for Metabolon, Inc. All other co-authors have no conflicts of interest to declare.

Appendix A. NEO Study Design

The Netherlands Epidemiology of Obesity (NEO) study is a population-based, prospective cohort study of individuals aged 45–65 years, with an oversampling of overweight individuals or individuals with obesity. Men and women aged between 45 and 65 years with a self-reported BMI of 27 kg/m2 or higher, living in the greater area of Leiden (in the West of the Netherlands) were eligible to participate in the NEO study. In addition, all inhabitants aged between 45 and 65 years from one municipality (Leiderdorp) were invited, irrespective of their BMI. Recruitment of participants started in September 2008 and was completed at the end of September 2012. In total, 6671participants were included, of whom 5217 had a BMI of 27 kg/m2 or higher. The NEO study was accepted by the Medical Ethics committee of the Leiden University Medical Center under protocol P08.109. The study is also registered at clinicaltrials.gov under number NL21981.058.08/P08.109. All participants gave written informed consent. Participants were invited to come to the NEO study center of the LUMC for one baseline study visit after an overnight fast. A blood sample of 108 mL was taken from the participants after an overnight fast of at least 10 h [20]. From the Leiderdorp subpopulation (n = 1671) we selected 599 Caucasian individuals with normal BMI distribution and sent their serum samples for metabolomics analysis using the Metabolon platform and for examination in this paper.

Appendix A.1. Evaluation Measures

In addition to using bias and RMSE we also converted these measures to percentages. This was necessary because the estimates of the analysis model of the metabolites in complete NEO dataset varied in magnitude and scale. For example, in sample size n = 599, the estimate for urate was 1.39 × 10−8 and for succinylcarnitine was 2.84 × 10−6 (full details in Table 3 of the main manuscript). Percentage bias was calculated by dividing the bias in each sample size set by the estimate calculated for the respective sample size. RMSE percentage was calculated by subtracting then dividing all scenarios for each metabolite by the corresponding true coefficient in sample size n = 599 and multiplying by 100.

Appendix A.2. Imputation Methods

The first step in our workflow was creating a correlation matrix for the metabolites in the dataset. For each metabolite with missing values (X), we selected the ten metabolites without missing values with the strongest absolute correlation |r| to X from the correlation matrix. Our metabolomics dataset was generated on the latest measuring platform which greatly expanded the number of metabolites but reduced the overall intercorrelation of the data. This reduction of the intercorrelation is partly explained by the inclusion of remote metabolites in smaller pathways.
In standard kNN, distances are used to select closest neighbors to the observation with missing values. In kNN-obs-sel, for each metabolite we used up to 10 auxiliary metabolites as predictors and imputed the missing values by taking the average of the 10 nearest neighbors (K = 10) observations. Multiple imputation using chained equations (MICE) is used for incomplete data in multiple variables and may use discrete, categorical, and continuous variables of different units for the imputation [29]. When using the option predicted mean matching, it yields several different datasets with imputed values obtained from observed cases. The analysis of interest is then performed on each of the imputed datasets separately and the results are pooled afterwards as described by White et al., (2010) [23] and other articles [29,30,31]. Given that kNN-obs-sel calculates the mean from the auxiliary variables, it was only possible to use metabolites (with the same units and scale) for the imputation. In contrast, we used clinical variables sex and age in addition to the auxiliary metabolites as predictors. Furthermore, the outcome, BMI, was added as well. Adding the outcome and the covariates is essential in MICE imputations to avoid bias and underestimation in the imputation results as shown in simulation studies [24] and discussed in several sources [17,23]. Adding the clinical variables and the outcome in our study was an additional step that was not used in the simulation study by Do et al. [6].

Appendix B

Table A1. Distribution of the mean correlation for the incomplete endogenous and unannotated metabolites in NEO.
Table A1. Distribution of the mean correlation for the incomplete endogenous and unannotated metabolites in NEO.
Mean Correlation0.1–0.19, n (%)0.2–0.29, n (%)0.3–0.39, n (%)0.4–0.49, n (%)0.5–0.59, n (%)0.6–0.69, n (%)0.7–0.79, n (%)0.8–0.89, n (%)Total
Endogenous32 (8.79)86 (23.63)98 (26.92)58 (15.93)53 (14.56)29 (7.97)7 (1.92)1 (0.27)364
Unannotated53 (23.35)83 (36.56)50 (22.03)22 (9.69)15 (6.61)1 (0.44)3 (1.32)0 (0)227
Combined85 (14.38)169 (28.6)148 (25.04)80 (13.54)68 (11.51)30 (5.08)10 (1.69)1 (0.17)591
Approximately 80% of the metabolites have a mean correlation below 0.5 with their respective top 10 correlated metabolites in the correlation matrix.
Table A2. Percentage bias of the imputation methods across different parameters on different metabolites including MICE-pmm with a single imputation.
Table A2. Percentage bias of the imputation methods across different parameters on different metabolites including MICE-pmm with a single imputation.
Missing MechanismSample SizeMissing PercentageMetabolites/Imputation Method
PC(32:2)SuccinylcarnitineGlutamateUrate
MICE-pmmkNN-obs-selMICE-pmm [m = 1]MICE-pmmkNN-obs-selMICE-pmm [m = 1]MICE-pmmkNN-obs-selMICE-pmm [m = 1]MICE-pmmkNN-obs-selMICE-pmm [m = 1]
MCARn = 5015%2.02.11.40.36.00.42.20.22.34.94.95.5
30%3.24.53.42.814.42.68.61.18.811.310.210.1
60%13.914.513.228.931.329.740.22.040.739.927.640.9
n = 15015%0.70.50.91.413.81.70.21.90.30.70.50.5
30%1.91.82.20.431.90.91.15.11.10.71.30.1
60%3.93.23.45.272.70.66.215.06.02.0912.52.1
n = 59915%0.30.80.30.19.30.20.22.60.30.62.20.4
30%0.72.40.80.620.10.30.15.60.11.54.91.8
60%1.97.91.73.550.94.60.715.10.82.615.02.4
PLoDn = 5015%1.30.81.02.81.83.40.71.80.812.76.212.5
30%3.52.22.87.74.37.54.23.64.126.316.525.5
60%19.53.018.634.88.334.819.315.019.687.466.189.4
n = 15015%0.21.60.20.712.80.71.30.81.45.36.35.4
30%0.33.30.60.223.40.43.02.33.18.014.98.7
60%4.22.64.216.246.117.29.48.69.139.859.738.2
n = 59915%0.50.10.50.97.31.00.91.40.90.51.90.5
30%1.11.61.22.516.72.92.12.92.20.63.30.6
60%4.911.54.99.754.39.24.113.14.40.14.30.6
Abbreviations: MCAR: missing completely at random; PLoD: probabilistic limit of detection; MICE-pmm [m = 1]: MICE-pmm with a single imputation.
Table A3. Mean and standard deviation of the estimates of the imputation methods using the MCAR missing mechanism, the three sample sizes, the three missing percentages, and four metabolites.
Table A3. Mean and standard deviation of the estimates of the imputation methods using the MCAR missing mechanism, the three sample sizes, the three missing percentages, and four metabolites.
Sample SizeMissing PercentageMetabolites/Imputation Method/Mean Estimate (SD)
PC(32:2)kNN-obs-selSuccinylcarnitinekNN-obs-selGlutamatekNN-obs-selUratekNN-obs-sel
MICE-pmmMICE-pmmMICE-pmmMICE-pmm
n = 500%−4.18 × 10−72.84 × 10−61.83 × 10−71.39 × 10−8
15%−4.46 × 107 (6.04 × 108)−4.47 × 10−7 (7.24 × 10−8)4.52 × 10−6 (6.38 × 10−7)4.8 × 10−6 (7.38 × 10−7)2.82 × 10−8 (1.29 × 10−9)2.88 × 10−8 (1.69 × 10−9)9.11 × 10−9 (3.29 × 10−9)1.01 × 10−8 (3.27 × 10−9)
30%−4.52 × 10−7 (1.04 × 107)−4.57 × 10−7 (1.21 × 10−7)4.39 × 10−6 (1.02 × 10−6)5.15 × 10−6 (1.24 × 10−6)2.64 × 10−8 (2.61 × 10−9)2.86 × 10−8 (2.79 × 10−9)8.5 × 10−9 (5.66 × 10−9)1.06 × 10−8 (5.72 × 10−9)
60%−3.77 × 107 (2.28 × 107)−5.01 × 10-7 (2.34 × 10-7)3.22 × 10−6 (1.73 × 10−6)5.96 × 10−6 (2.58 × 10−6)1.73 × 10−8 (6.06 × 10−9)2.83 × 10−8 (5.57 × 10−9)5.75 × 10−9 (9.36 × 10−9)1.22 × 10−8 (1.13 × 10−8)
n = 1500%−3.64 × 10−71.53 × 10−62.89 × 10−89.58 × 10−9
15%−3.66 × 107 (1.57 × 108)−3.62 × 10−7 (1.53 × 10−8)1.54 × 10−6 (4.09 × 10−7)1.77 × 10−6 (4.17 × 10−7)1.66 × 10−8 (8.24 × 10−10)1.69 × 10−8 (8.15 × 10−10)9.76 × 10−9 (1.62 × 10−9)9.74 × 10−9 (1.46 × 10−9)
30%−3.71 × 107 (2.57 × 108)−3.58 × 10−7 (2.29 × 10−8)1.52 × 10−6 (6.43 × 10−7)1.99 × 10−6 (6.94 × 10−7)1.64 × 10−8 (1.37 × 10−9)1.74 × 10−8 (1.21 × 10−9)9.75 × 10−9 (2.45 × 10−9)9.82 × 10−9 (2.29 × 10−9)
60%−3.78 × 107 (4.87 × 108)−3.52 × 10−7 (4.3 × 10−8)1.48 × 10−6 (1.2 × 10−6)2.7 × 10−6 (1.48 × 10−6)1.56 × 10−8 (2.79 × 10−9)1.91 × 10−8 (2.47 × 10−9)9.89 × 10−9 (4.61 × 10−9)1.09 × 10−8 (4.81 × 10−9)
n = 5990%−4.38 × 10−74.53 × 10−61.66 × 10−89.69 × 10−9
15%−4.2 × 107 (8.44 × 109)−4.22 × 10−7 (1.05 × 10−8)2.84 × 10−6 (1.96 × 10−7)3.1 × 10−6 (1.94 × 10−7)1.84 × 10−8 (4.43 × 10−10)1.88 × 10−8 (4.77 × 10−10)1.4 × 10−8 (8.08 × 10−10)1.42 × 10−8 (7.59 × 10−10)
30%−4.21 × 107 (1.33 × 108)−4.28 × 10−7 (1.76 × 10−8)2.85 × 10−6 (3.08 × 10−7)3.43 × 10−6 (3.35 × 10−7)1.84 × 10−8 (7.05 × 10−10)1.94 × 10−8 (7.16 × 10−10)1.41 × 10−8 (1.27 × 10−9)1.46 × 10−8 (1.19 × 10−9)
60%−4.26 × 107 (2.52 × 108)−4.51 × 107 (3.54 × 108)2.79 × 10−6 (5.88 × 10−7)4.34 × 10−6 (7.2 × 10−7)1.82 × 10−8 (1.34 × 10−9)2.11 × 10−8 (1.27 × 10−9)1.43 × 10−8 (2.47 × 10−9)1.6 × 10−8 (2.55 × 10−9)
Estimates are the regression coefficient from the model BMI ~ age + sex + metabolite. Therefore, the estimates are the mean increase in BMI per 1 unit increase of the metabolite. The 0% rows are the estimates from the real data before amputing and imputing the missing values.
Table A4. Mean and standard deviation of the estimates of the imputation methods using the PLoD missing mechanism, the three sample sizes, the three missing percentages, and four metabolites.
Table A4. Mean and standard deviation of the estimates of the imputation methods using the PLoD missing mechanism, the three sample sizes, the three missing percentages, and four metabolites.
Sample SizeMissing PercentageMetabolites/Imputation Method/Mean Estimate (SD)
PC(32:2)kNN-obs-selSuccinylcarnitinekNN-obs-selGlutamatekNN-obs-selUratekNN-obs-sel
MICE-pmmMICE-pmmMICE-pmmMICE-pmm
n = 500%−4.18 × 10−72.84 × 10−61.83 × 10−71.39 × 10−8
15%−4.32 × 10−7 (3.91 × 10−8)−4.34 × 10−7 (3.35 × 10−8)4.4 × 10−6 (2.56 × 10−7)4.62 × 10−6 (1.79 × 10−7)2.87 × 10−8 (1.09 × 10−9)2.94 × 10−8 (1.29 × 10−9)8.36 × 10−9 (2.53 × 10−9)8.99 × 10−9 (2.19 × 10−9)
30%−4.22 × 10−7 (7.47 × 10−8)−4.28 × 10−7 (5.19 × 10−8)4.15 × 10−6 (4.4 × 10−7)4.72 × 10−6 (2.83 × 10−7)2.77 × 10−8 (2.07 × 10−9)2.99 × 10−8 (1.99 × 10−9)7.07 × 10−9 (3.7 × 10−9)8 × 10−9 (3.14 × 10−9)
60%−3.52 × 10−7 (1.82 × 10−7)−4.51 × 10−7 (1.32 × 10−7)3.05 × 10−6 (1.18 × 10−6)4.96 × 10−6 (1.19 × 10−6)2.33 × 10−8 (4.89 × 10−9)3.32 × 10−8 (3.59 × 10−9)1.21 × 10−9 (7.1 × 10−9)3.25 × 10−9 (7.47 × 10−9)
n = 1500%−3.64 × 10−71.53 × 10−62.89 × 10−89.58 × 10−9
15%−3.65 × 10−7 (1.26 × 10−8)−3.58 × 10−7 (1.22 × 10−8)1.51 × 10−6 (3.88 × 10−7)1.72 × 10−6 (3.61 × 10−7)1.64 × 10−8 (6.63 × 10−10)1.67 × 10−8 (5.85 × 10−10)9.18 × 10−9 (1.62 × 10−9)9.08 × 10−9 (1.31 × 10−9)
30%−3.65 × 10−7 (1.96 × 10−8)−3.52 × 10−7 (1.86 × 10−8)1.49 × 10−6 (6.11 × 10−7)1.86 × 10−6 (5.51 × 10−7)1.61 × 10−8 (1.07 × 10−9)1.7 × 10−8 (8.47 × 10−10)8.91 × 10−9 (2.14 × 10−9)8.25 × 10−9 (1.87 × 10−9)
60%−3.79 × 10−7 (3.83 × 10−8)−3.74 × 10−7 (3.83 × 10−8)1.66 × 10−6 (1.05 × 10−6)2.11 × 10−6 (9.8 × 10−7)1.5 × 10−8 (1.8 × 10−9)1.8 × 10−8 (1.51 × 10−9)5.83 × 10−9 (3.36 × 10−9)3.91 × 10−9 (3.08 × 10−9)
n = 5990%−4.38 × 10−74.53 × 10−61.66 × 10−89.69 × 10−9
15%−4.2 × 10−7 (7.17 × 10−9)−4.18 × 10−7 (8.61 × 10−9)2.82 × 10−6 (1.59 × 10−7)3.05 × 10−6 (1.5 × 10−7)1.82 × 10−8 (3.37 × 10−10)1.86 × 10−8 (3.1 × 10−10)1.4 × 10−8 (6.57 × 10−10)1.42 × 10−8 (5.63 × 10−10)
30%−4.23 × 10−7 (1.1 × 10−8)−4.25 × 10−7 (1.52 × 10−8)2.79 × 10−6 (2.52 × 10−7)3.34 × 10−6 (2.34 × 10−7)1.8 × 10−8 (5.37 × 10−10)1.89 × 10−8 (4.81 × 10−10)1.4 × 10−8 (9.58 × 10−10)1.44 × 10−8 (8.97 × 10−10)
60%−4.39 × 10−7 (2.02 × 10−8)−4.66 × 10−7 (3.56 × 10−8)2.58 × 10−6 (5.62 × 10−7)4.37 × 10−6 (6.13 × 10−7)1.76 × 10−8 (9.99 × 10−10)2.07 × 10−8 (8.04 × 10−10)1.39 × 10−8 (1.64 × 10−9)1.45 × 10−8 (1.57 × 10−9)
Estimates are the regression coefficient from the model BMI ~ age + sex + metabolite. Therefore, the estimates are the mean increase in BMI per 1 unit increase of the metabolite. The 0% rows are the estimates from the real data before amputing and imputing the missing values.
Table A5. RMSE of the imputation methods across different parameters on different metabolites.
Table A5. RMSE of the imputation methods across different parameters on different metabolites.
Missing MechanismSample SizeMissing PercentageMetabolites/Imputation Method
PC(32:2)SuccinylcarnitineGlutamateUrate
MICE-pmmkNN-obs-selMICE-pmmkNN-obs-selMICE-pmmkNN-obs-selMICE-pmmkNN-obs-sel
MCARn = 5015%6.56 × 10−87.48 × 10−86.5 × 10−77.73 × 10−73.32 × 10−93.3 × 10−91.44 × 10−91.69 × 10−9
30%1.04 × 10−71.22 × 10−71.02 × 10−61.44 × 10−65.76 × 10−95.8 × 10−93.59 × 10−92.8 × 10−9
60%2.33 × 10−72.49 × 10−72.22 × 10−62.95 × 10−61.01 × 10−81.16 × 10−81.31 × 10−85.59 × 10−9
n = 15015%1.71 × 10−81.69 × 10−83.97 × 10−74.6 × 10−71.62 × 10−91.46 × 10−98.24 × 10−108.75 × 10−10
30%2.63 × 10−82.49 × 10−86.48 × 10−78.5 × 10−72.45 × 10−92.29 × 10−91.38 × 10−91.47 × 10−9
60%5.23 × 10−84.78 × 10−81.27 × 10−61.84 × 10−64.62 × 10−94.96 × 10−92.97 × 10−93.51 × 10−9
n = 59915%8.64 × 10−91.08 × 10−82,00 × 10−73.35 × 10−78.12 × 10−108.17 × 10−104.45 × 10−106.71 × 10−10
30%1.28 × 10−81.95 × 10−83.08 × 10−76.6 × 10−71.28 × 10−91.36 × 10−97.05 × 10−101.24 × 10−9
60%2.63 × 10−85.04 × 10−85.91 × 10−71.61 × 10−62.5 × 10−93.29 × 10−91.35 × 10−93.04 × 10−9
PLoDn = 5015%3.99 × 10−83.23 × 10−82.98 × 10−72,00 × 10−72.81 × 10−92.26 × 10−91.11 × 10−91.38 × 10−9
30%7.36 × 10−85.36 × 10−85.66 × 10−73.48 × 10−74.47 × 10−93.51 × 10−92.4 × 10−92.24 × 10−9
60%1.87 × 10−71.25 × 10−72,00 × 10−61.27 × 10−61.1 × 10−89.79 × 10−97.42 × 10−95.62 × 10−9
n = 15015%1.33 × 10−81.36 × 10−83.62 × 10−73.8 × 10−71.7 × 10−91.45 × 10−96.97 × 10−105.99 × 10−10
30%1.96 × 10−82.15 × 10−85.97 × 10−76.46 × 10−72.27 × 10−92.36 × 10−91.18 × 10−99.27 × 10−10
60%4.42 × 10−83.98 × 10−81.07 × 10−61.23 × 10−65.11 × 10−96.55 × 10−92.39 × 10−92.07 × 10−9
n = 59915%7.54 × 10−98.52 × 10−91.67 × 10−72.56 × 10−76.6 × 10−106.22 × 10−103.77 × 10−104.03 × 10−10
30%1.17 × 10−81.64 × 10−82.64 × 10−75.32 × 10−79.61 × 10−101.01 × 10−96.55 × 10−107.2 × 10−10
60%2.96 × 10−85.82 × 10−86.4 × 10−71.65 × 10−61.64 × 10−91.68 × 10−91.25 × 10−92.53 × 10−9
Abbreviations: MCAR: missing completely at random; PLoD: probabilistic limit of detection; MICE-pmm [m = 1]: MICE-pmm with a single imputation.
Table A6. Percentage RMSE of the imputation methods across different parameters on different metabolites including MICE-pmm with a single imputation.
Table A6. Percentage RMSE of the imputation methods across different parameters on different metabolites including MICE-pmm with a single imputation.
Missing MechanismSample SizeMissing PercentageMetabolites/Imputation Method
PC(32:2)SuccinylcarnitineGlutamateUrate
MICE-pmmkNN-obs-selMICE-pmm [m = 1]MICE-pmmkNN-obs-selMICE-pmm [m = 1]MICE-pmmkNN-obs-selMICE-pmm [m = 1]MICE-pmmkNN-obs-selMICE-pmm [m = 1]
MCARn = 5015%14.617.418.322.927.229.07.99.210.923.923.729.7
30%25.129.431.335.950.745.119.615.324.641.441.750.6
60%56.257.971.278.2103.996.171.430.578.072.583.389.1
n = 15015%3.83.75.014.016.217.14.54.85.911.610.514.1
30%6.45.78.222.829.927.77.58.09.817.616.521.1
60%12.110.715.644.764.851.816.219.120.033.235.639.3
n = 59915%2.02.62.77.011.88.92.43.73.25.85.97.0
30%3.34.84.010.823.213.33.86.84.79.29.811.6
60%6.311.68.020.856.727.17.416.68.818.023.621.4
PLoDn = 5015%9.48.112.510.57.015.56.17.58.320.216.223.9
30%18.212.623.319.912.325.513.112.217.032.125.237.2
60%48.131.861.070.444.781.040.430.648.979.070.390.5
n = 15015%3.03.24.112.713.415.73.83.34.912.210.413.7
30%4.75.36.221.022.725.26.45.17.916.317.019.2
60%9.99.413.437.743.349.313.011.316.736.747.142.5
n = 59915%1.82.12.45.99.07.72.12.22.64.74.56.0
30%2.83.93.79.318.712.63.63.94.46.97.38.6
60%6.914.38.322.558.127.46.813.88.111.812.115.2
We converted the RMSE values to a percentage by subtracting then dividing the RMSE values by the corresponding true estimates (in sample size n = 599). Abbreviations: MCAR: missing completely at random; PLoD: probabilistic limit of detection; MICE-pmm [m = 1]: MICE-pmm with a single imputation.
Table A7. Runtime for MICE-pmm and kNN-obs-sel imputations using different datasets.
Table A7. Runtime for MICE-pmm and kNN-obs-sel imputations using different datasets.
Imputation MethodDataset Sizes
n = 599n = 5400n = 20,000
MICE-pmm (minutes)1.913.4138.9
kNN-obs-sel (minutes)0.716.2210.7
Imputation was applied to the actual NEO dataset (n = 599; 58% metabolites contain missing values) and two oversampled datasets generated from the NEO data. With n = 599, kNN-obs-sel was slightly faster. However, MICE-pmm imputation took a shorter time to complete the imputations in larger datasets.
Figure A1. Nested loop plot of the percentage bias of the four metabolites from the simulation including MICE-pmm with a single imputation. The X axis in each box represents the missing percentage and is split per sample size. Abbreviations: MCAR: missing completely at random; PLoD: probabilistic limit of detection; MICE-pmm [m = 1]: MICE-pmm with a single imputation.
Figure A1. Nested loop plot of the percentage bias of the four metabolites from the simulation including MICE-pmm with a single imputation. The X axis in each box represents the missing percentage and is split per sample size. Abbreviations: MCAR: missing completely at random; PLoD: probabilistic limit of detection; MICE-pmm [m = 1]: MICE-pmm with a single imputation.
Metabolites 10 00486 g0a1
Figure A2. Nested loop plot of the percentage RMSE of the four metabolites from the simulation including MICE-pmm with a single imputation. To simplify comparability in the plot we converted the RMSE values to a percentage by subtracting then dividing the RMSE values by the corresponding true estimates (in sample size n = 599). The horizonal axis in each box represents the missing percentage and is split per sample size. Abbreviations: MCAR: missing completely at random; PLoD: probabilistic limit of detection; MICE-pmm [m = 1]: MICE-pmm with a single imputation.
Figure A2. Nested loop plot of the percentage RMSE of the four metabolites from the simulation including MICE-pmm with a single imputation. To simplify comparability in the plot we converted the RMSE values to a percentage by subtracting then dividing the RMSE values by the corresponding true estimates (in sample size n = 599). The horizonal axis in each box represents the missing percentage and is split per sample size. Abbreviations: MCAR: missing completely at random; PLoD: probabilistic limit of detection; MICE-pmm [m = 1]: MICE-pmm with a single imputation.
Metabolites 10 00486 g0a2

References

  1. Suhre, K.; Meisinger, C.; Döring, A.; Altmaier, E.; Belcredi, P.; Gieger, C.; Chang, D.; Milburn, M.V.; Gall, W.E.; Weinberger, K.M.; et al. Metabolic Footprint of Diabetes: A Multiplatform Metabolomics Study in an Epidemiological Setting. PLoS ONE 2010, 5, e13953. [Google Scholar] [CrossRef] [Green Version]
  2. Schrimpe-Rutledge, A.C.; Codreanu, S.G.; Sherrod, S.D.; McLean, J.A. Untargeted Metabolomics Strategies—Challenges and Emerging Directions. J. Am. Soc. Mass Spectrom. 2016, 27, 1897–1905. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  3. Wei, R.; Wang, J.; Su, M.; Jia, E.; Chen, S.; Chen, T.; Ni, Y. Missing Value Imputation Approach for Mass Spectrometry-based Metabolomics Data. Sci. Rep. 2018, 8, 1–10. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  4. Karpievitch, Y.V.; Dabney, A.R.; Smith, R.D. Normalization and missing value imputation for label-free LC-MS analysis. BMC Bioinform. 2012, 13, S5. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  5. Hrydziuszko, O.; Viant, M.R. Missing values in mass spectrometry based metabolomics: An undervalued step in the data processing pipeline. Metabolomics 2012, 8, 161–174. [Google Scholar] [CrossRef]
  6. Do, K.T.; Wahl, S.; Raffler, J.; Molnos, S.; Laimighofer, M.; Adamski, J.; Suhre, K.; Strauch, K.; Peters, A.; Gieger, C.; et al. Characterization of missing values in untargeted MS-based metabolomics data and evaluation of missing data handling strategies. Metabolomics 2018, 14, 128. [Google Scholar] [CrossRef] [Green Version]
  7. Alonso, A.; Marsal, S.; Juliã, A. Analytical Methods in Untargeted Metabolomics: State of the Art in 2015. Front. Bioeng. Biotechnol. 2015, 3, 23. [Google Scholar] [CrossRef] [Green Version]
  8. Deng, Y.; Chang, C.; Ido, M.S.; Long, Q. Multiple Imputation for General Missing Data Patterns in the Presence of High-dimensional Data. Sci. Rep. 2016, 6, 21689. [Google Scholar] [CrossRef] [Green Version]
  9. Gromski, P.S.; Xu, Y.; Kotze, H.L.; Correa, E.; Ellis, D.I.; Armitage, E.G.; Turner, M.L.; Goodacre, R. Influence of Missing Values Substitutes on Multivariate Analysis of Metabolomics Data. Metabolites 2014, 4, 433–452. [Google Scholar] [CrossRef] [Green Version]
  10. Van Buuren, S. Flexible Imputation of Missing Data; Chapman and Hall/CRC: Boca Raton, FL, USA, 2018. [Google Scholar]
  11. Little, R.J.A. Missing-Data Adjustments in Large Surveys. J. Bus. Econ. Stat. 1988, 6, 287–296. [Google Scholar]
  12. Rubin, D.B. Statistical Matching Using File Concatenation with Adjusted Weights and Multiple Imputations. J. Bus. Econ. Stat. 1986, 4, 87–94. [Google Scholar]
  13. Faquih, T. Imputation of Untargeted Metabolites Official Release, Version v1.3; Zenodo: Meyrin, Switzerland, 2020; Available online: https://zenodo.org/record/4167193 (accessed on 31 October 2020).
  14. Rücker, G.; Schwarzer, G. Presenting simulation results in a nested loop plot. BMC Med. Res. Methodol. 2014, 14, 129. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  15. Shah, J.; Rai, S.N.; DeFilippis, A.P.; Hill, B.G.; Bhatnagar, A.; Brock, G. Distribution based nearest neighbor imputation for truncated high dimensional data with applications to pre-clinical and clinical metabolomics studies. BMC Bioinform. 2017, 18, 114. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  16. Di Guida, R.; Engel, J.; Allwood, J.W.; Weber, R.J.M.; Jones, M.R.; Sommer, U.; Viant, M.R.; Dunn, W.B. Non-targeted UHPLC-MS metabolomic data processing methods: A comparative investigation of normalisation, missing value imputation, transformation and scaling. Metabolomics 2016, 12, 1–14. [Google Scholar] [CrossRef] [Green Version]
  17. Molenberghs, G.; Kenward, M. Missing Data in Clinical Studies; Wiley: Hoboken, NJ, USA, 2007. [Google Scholar]
  18. Wang, J.; Li, Z.F.; Chen, J.; Zhao, H.; Luo, L.; Chen, C.; Xu, X.; Zhang, W.; Gao, K.; Li, B.; et al. Metabolomic identification of diagnostic plasma biomarkers in humans with chronic heart failure. Mol. BioSyst. 2013, 9, 2618. [Google Scholar] [CrossRef] [PubMed]
  19. Yousri, N.A.; Bayoumy, K.; Elhaq, W.G.; Mohney, R.P.; Al Emadi, S.; Hammoudeh, M.; Halabi, H.; Masri, B.; Badsha, H.; Uthman, I.; et al. Large Scale Metabolic Profiling identifies Novel Steroids linked to Rheumatoid Arthritis. Sci. Rep. 2017, 7, 1–9. [Google Scholar] [CrossRef]
  20. De Mutsert, R.; Heijer, M.D.; Rabelink, T.J.; Smit, J.W.A.; Romijn, J.A.; Jukema, J.W.; De Roos, A.; Cobbaert, C.M.; Kloppenburg, M.; Le Cessie, S.; et al. The Netherlands Epidemiology of Obesity (NEO) study: Study design and data collection. Eur. J. Epidemiol. 2013, 28, 513–523. [Google Scholar] [CrossRef]
  21. Evans, A.; Bridgewater, B.; Liu, Q.; Mitchell, M.; Robinson, R.; Dai, H.; Stewart, S.; DeHaven, C.; Miller, L.J.M. High Resolution Mass Spectrometry Improves Data Quantity and Quality as Compared to Unit Mass Resolution Mass Spectrometry in High-Throughput Profiling Metabolomics. J. Postgenomics Drug Biomark. Dev. 2014, 4, 1–7. [Google Scholar] [CrossRef] [Green Version]
  22. Rhee, E.P.; Waikar, S.S.; Rebholz, C.M.; Zheng, Z.; Perichon, R.; Clish, C.B.; Evans, A.M.; Avila, J.; Denburg, M.R.; Anderson, A.H.; et al. Variability of Two Metabolomic Platforms in CKD. Clin. J. Am. Soc. Nephrol. 2019, 14, 40. [Google Scholar] [CrossRef] [Green Version]
  23. White, I.R.; Royston, P.; Wood, A.M. Multiple imputation using chained equations: Issues and guidance for practice. Stat. Med. 2011, 30, 377–399. [Google Scholar] [CrossRef]
  24. Moons, K.G.; Donders, R.A.; Stijnen, T.; Harrell, F.E. Using the outcome for imputation of missing predictor values was preferred. J. Clin. Epidemiol. 2006, 59, 1092–1101. [Google Scholar] [CrossRef] [PubMed]
  25. Kowarik, A.; Templ, M. Imputation with the R Package VIM. J. Stat. Softw. 2016, 74, 16. [Google Scholar] [CrossRef] [Green Version]
  26. Cirulli, E.T.; Guo, L.; Swisher, C.L.; Shah, N.; Huang, L.; Napier, L.A.; Kirkness, E.F.; Spector, T.D.; Caskey, C.T.; Thorens, B.; et al. Profound Perturbation of the Metabolome in Obesity Is Associated with Health Risk. Cell Metab. 2019, 29, 488–500.e2. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  27. Demirtas, H.; Freels, S.A.; Yucel, R.M. Plausibility of multivariate normality assumption when multiply imputing non-Gaussian continuous outcomes: A simulation assessment. J. Stat. Comput. Simul. 2008, 78, 69–84. [Google Scholar] [CrossRef]
  28. Morris, T.P.; White, I.R.; Crowther, M.J. Using simulation studies to evaluate statistical methods. Stat. Med. 2019, 38, 2074–2102. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  29. Van Buuren, S.; Groothuis-Oudshoorn, K. mice: Multivariate Imputation by Chained Equations in R. J. Stat. Softw. 2011, 45, 1–67. [Google Scholar] [CrossRef] [Green Version]
  30. Rubin, D.B. Multiple Imputation for Nonresponse in Surveys; John Wiley & Sons, Inc.: New York, NY, USA, 1987. [Google Scholar]
  31. Rubin, D.B. Multiple Imputation After 18+ Years. J. Am. Stat. Assoc. 1996, 91, 473–489. [Google Scholar] [CrossRef]
Figure 1. Distribution of the missing values in each metabolite group.
Figure 1. Distribution of the missing values in each metabolite group.
Metabolites 10 00486 g001
Figure 2. Distribution of the mean absolute correlations for the complete (without missing values) and incomplete (with missing values) endogenous and unannotated metabolites in the NEO dataset.
Figure 2. Distribution of the mean absolute correlations for the complete (without missing values) and incomplete (with missing values) endogenous and unannotated metabolites in the NEO dataset.
Metabolites 10 00486 g002
Figure 3. Nested loop plot of the percentage bias of the four metabolites from the simulation. The horizontal axis in each box represents the missing percentage and is split per sample size. Abbreviations: MCAR: missing completely at random; PLoD: probabilistic limit of detection.
Figure 3. Nested loop plot of the percentage bias of the four metabolites from the simulation. The horizontal axis in each box represents the missing percentage and is split per sample size. Abbreviations: MCAR: missing completely at random; PLoD: probabilistic limit of detection.
Metabolites 10 00486 g003
Figure 4. Nested loop plot of the root mean squared error (RMSE) of the four metabolites from the simulation. To simplify comparability in the plot we converted the RMSE values to a percentage by subtracting then dividing the RMSE values by the corresponding true estimates (in sample size n = 599). The horizonal axis in each box represents the missing percentage and is split per sample size. Abbreviations: MCAR: missing completely at random; PLoD: probabilistic limit of detection.
Figure 4. Nested loop plot of the root mean squared error (RMSE) of the four metabolites from the simulation. To simplify comparability in the plot we converted the RMSE values to a percentage by subtracting then dividing the RMSE values by the corresponding true estimates (in sample size n = 599). The horizonal axis in each box represents the missing percentage and is split per sample size. Abbreviations: MCAR: missing completely at random; PLoD: probabilistic limit of detection.
Metabolites 10 00486 g004
Table 1. Summary of missing data in the Netherlands Epidemiology of Obesity (NEO) study.
Table 1. Summary of missing data in the Netherlands Epidemiology of Obesity (NEO) study.
Missing DataMetabolite Groups
Endogenous (n = 840)Unannotated (n = 296)Xenobiotics (n = 229)Total (n = 1365)
Metabolites with missing values, n (%)367 (43.7)236 (79.7)197 (86.0)800 (58.6)
Missing metabolites per observation, median (range)57 (23–94)59 (31–112)110 (79–149)228 (152–343)
In the NEO study, 1365 metabolites were measured in 599 individuals (observations).
Table 2. Percentage bias of the imputation methods across different parameters on different metabolites including multivariate imputation by chained equations (MICE)-pmm with a single imputation.
Table 2. Percentage bias of the imputation methods across different parameters on different metabolites including multivariate imputation by chained equations (MICE)-pmm with a single imputation.
Missing MechanismSample SizeMissing PercentageMetabolites/Imputation Method
PC(32:2)SuccinylcarnitineGlutamateUrate
MICE-pmmkNN-obs-selMICE-pmmkNN-obs-selMICE-pmmkNN-obs-selMICE-pmmkNN-obs-sel
MCARn = 5015%2.02.10.36.02.20.24.94.9
30%3.24.52.814.48.61.111.310.2
60%13.914.528.931.340.22.039.927.6
n = 15015%0.70.51.413.80.21.90.70.5
30%1.91.80.431.91.15.10.71.3
60%3.93.25.272.76.215.02.0912.5
n = 59915%0.30.80.19.30.22.60.62.2
30%0.72.40.620.10.15.61.54.9
60%1.97.93.550.90.715.12.615.0
PLoDn = 5015%1.30.82.81.80.71.812.76.2
30%3.52.27.74.34.23.626.316.5
60%19.53.034.88.319.315.087.466.1
n = 15015%0.21.60.712.81.30.85.36.3
30%0.33.30.223.43.02.38.014.9
60%4.22.616.246.19.48.639.859.7
n = 59915%0.50.10.97.30.91.40.51.9
30%1.11.62.516.72.12.90.63.3
60%4.911.59.754.34.113.10.14.3
Abbreviations: MCAR: missing completely at random; PLoD: probabilistic limit of detection.
Table 3. Properties of the selected metabolites for the simulation.
Table 3. Properties of the selected metabolites for the simulation.
Metabolite Full NameMean Absolute CorrelationSuper PathwaySub PathwayEstimate n = 599Estimate n = 150Estimate n = 50
PC(32:2)0.64LipidPlasmalogen−4.18 × 10−7−3.64 × 10−7−4.38 × 10−7
Urate0.49NucleotidePurine Metabolism1.39 × 10−89.58 × 10−99.69 × 10−9
Glutamate0.49Amino AcidGlutamate Metabolism1.83 × 10−72.89 × 10−81.66 × 10−8
Succinylcarnitine0.36EnergyTCA Cycle2.84 × 10−61.53 × 10−64.53 × 10−6
Abbreviations. Mean absolute correlation: mean of the 10 absolute Pearson’s correlations from the metabolite correlation matrix. Estimate is the regression coefficient from the model BMI~age + sex + metabolite. Therefore, the estimates are the mean increase in BMI per 1 unit increase of the metabolite.
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Faquih, T.; van Smeden, M.; Luo, J.; le Cessie, S.; Kastenmüller, G.; Krumsiek, J.; Noordam, R.; van Heemst, D.; Rosendaal, F.R.; van Hylckama Vlieg, A.; et al. A Workflow for Missing Values Imputation of Untargeted Metabolomics Data. Metabolites 2020, 10, 486. https://doi.org/10.3390/metabo10120486

AMA Style

Faquih T, van Smeden M, Luo J, le Cessie S, Kastenmüller G, Krumsiek J, Noordam R, van Heemst D, Rosendaal FR, van Hylckama Vlieg A, et al. A Workflow for Missing Values Imputation of Untargeted Metabolomics Data. Metabolites. 2020; 10(12):486. https://doi.org/10.3390/metabo10120486

Chicago/Turabian Style

Faquih, Tariq, Maarten van Smeden, Jiao Luo, Saskia le Cessie, Gabi Kastenmüller, Jan Krumsiek, Raymond Noordam, Diana van Heemst, Frits R. Rosendaal, Astrid van Hylckama Vlieg, and et al. 2020. "A Workflow for Missing Values Imputation of Untargeted Metabolomics Data" Metabolites 10, no. 12: 486. https://doi.org/10.3390/metabo10120486

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop