A machine learning framework for classifying lipids in untargeted metabolomics using mass-to-charge ratios and retention times.

Metabolomics : Official journal of the Metabolomic Society
Authors
Keywords
Abstract

INTRODUCTION: The identification of unknown metabolites remains a major challenge in untargeted metabolomics using liquid chromatography-mass spectrometry (LC-MS). This process typically depends on comparing mass spectral or chromatographic data to reference databases or deciphering complex fragmentation in tandem mass spectra. While current machine learning methods can predict metabolite structures using MS/MS (MS2) data, no approaches, to our knowledge, use only mass-to-charge ratio (m/z) and retention time (RT) from LC-MS data.OBJECTIVE: To explore the potential of using the mass-to-charge ratio (m/z) and retention time (RT) from LC-MS data as standalone predictors for metabolite classification and propose a modeling framework which can be implemented internally on standalone datasets.METHODS: We trained machine learning models on 20 mouse lung adenocarcinoma tumor samples with 7,353 features and validated them on a dataset of 81 samples with 22,000 features. A total of 120 combination of preprocessors and models were assessed. Features were classified as "lipid" or "non-lipid" based on the Human Metabolome Database (HMDB) taxonomy, and model performance was assessed using accuracy, area under the receiver operating characteristic curve (AUC), and area under the precision-recall curve (PR). We replicate the process in an independent dataset generated using human plasma samples.RESULTS: We classified untargeted LC-MS features as "lipid" or "non-lipid" per the HMDB super class taxonomy and evaluated model performance. A framework including steps to choose the preprocessors and models for metabolite classification was designed. In our lab, tree-based models demonstrated superior performance across all metrics, achieving high accuracy, AUC, and PR which was consistent with the independent dataset.CONCLUSION: Our results demonstrate that metabolites can be classified as "lipid", "non-lipid" using only m/z and RT from untargeted LC-MS data, without requiring MS2 spectra. Although this study focused on lipid classification, the approach shows potential for broader application, which warrants further investigation across diverse compound classes, detection methods, and chromatographic conditions.

Year of Publication
2025
Journal
Metabolomics : Official journal of the Metabolomic Society
Volume
21
Issue
6
Pages
151
Date Published
10/2025
ISSN
1573-3890
DOI
10.1007/s11306-025-02343-y
PubMed ID
41109916
Links