Recognition: 1 theorem link
· Lean TheoremMeTime: An R package for reproducible longitudinal metabolomics data analysis
Pith reviewed 2026-05-12 00:48 UTC · model grok-4.3
The pith
MeTime is an R package that stores longitudinal metabolomics data, metadata, and analysis outputs in a single S4 container to keep workflows reproducible.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
MeTime introduces the metime_analyser S4 container that holds multiple datasets, associated metadata, and all analysis outputs in one object, enabling workflows built by piping modular functions that begin with data transformations, continue through calculations, and optionally include meta-analysis while preserving full provenance for iterative exploration and reproducible reporting.
What carries the argument
The metime_analyser S4 container combined with the mod_, calc_, and meta_ piping interface, which unifies storage of datasets and results and wraps existing methods such as PCA, mixed-effects regression, and WGCNA clustering under a consistent structure.
If this is right
- Users can apply a wide range of existing methods including dimensionality reduction, random forest imputation, and regression models through the same interface without rewriting code for each step.
- All intermediate results and provenance remain inside the container, supporting iterative changes to the workflow while keeping prior outputs intact.
- Automated generation of HTML and PDF reports follows directly from the retained data and steps, reducing manual documentation effort.
- The design supports complex studies with multiple datasets by keeping everything unified rather than scattered across files.
Where Pith is reading between the lines
- The same container approach could extend to other longitudinal omics data types that share similar needs for tracking multiple time-point measurements and metadata.
- Integration with version-control systems might become simpler because the single container object can be saved and reloaded as one unit.
- New modular functions could be added by users to incorporate methods not yet wrapped, provided they follow the existing piping pattern.
- The emphasis on retaining all outputs may increase memory use in very large studies, requiring explicit subsetting steps that the package does not currently automate.
Load-bearing premise
That wrapping existing methods inside a consistent container and piping interface will produce meaningful improvements in reproducibility and usability for longitudinal metabolomics beyond what ad-hoc R scripts or other packages already achieve.
What would settle it
A direct comparison in which researchers complete the same longitudinal metabolomics study using MeTime versus custom scripts and show no difference in time to reproduce results or in the number of provenance errors would falsify the central claim.
read the original abstract
MeTime is an opensource R package for reproducible analysis of longitudinal metabolomics data. It builds upon a central S4 container, metime_analyser, that stores multiple datasets, associated metadata and analysis outputs, enabling unified handling of complex longitudinal studies. Analyses are constructed by piping modular functions, beginning with data transformations (mod_), followed by calculations (calc_), and optional meta-analysis (meta_), so entire workflows remain transparent and easy to modify. MeTime wraps numerous existing methods within a consistent interface, including sample and metabolite distributions, correlation and distance matrices, dimensionality reduction (PCA, UMAP, tSNE), random forest imputation and feature selection via Boruta, eigenmetabolites and WGCNA based clustering, conservation index analysis, regression models (linear, mixed effects, and generalized additive), and partial correlation networks. By retaining all intermediate results and provenance within the container, MeTime facilitates iterative exploration and ensures reproducible reporting via automatically generated HTML and PDF outputs. Comprehensive user guides, case studies and reference documentation accompany the package, making MeTime a versatile platform for longitudinal omics workflows.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The manuscript describes MeTime, an open-source R package for reproducible analysis of longitudinal metabolomics data. It introduces a central S4 container (metime_analyser) that stores multiple datasets, metadata, and analysis outputs, with workflows constructed via modular piping functions (mod_ for transformations, calc_ for calculations, meta_ for meta-analysis) that wrap existing methods including distributions, correlations, dimensionality reduction (PCA/UMAP/tSNE), imputation/feature selection (random forest/Boruta), clustering (eigenmetabolites/WGCNA), regression (linear/mixed-effects/GAM), and partial correlation networks. All intermediates and provenance are retained to support iterative exploration and automatic HTML/PDF report generation, accompanied by user guides and case studies.
Significance. If the described architecture functions as outlined, MeTime provides a practical advance for longitudinal omics workflows by enforcing a consistent, provenance-retaining interface that reduces fragmentation from ad-hoc scripts. Credit is due for the explicit design choices around S4 container modularity, automatic reporting, and comprehensive wrapping of standard methods, which directly support reproducibility goals in a field prone to complex, multi-dataset studies. These features, combined with open-source availability and documentation, position the package as a useful platform rather than a novel algorithmic contribution.
minor comments (2)
- [Abstract] Abstract and methods overview: the enumeration of wrapped techniques (e.g., Boruta, WGCNA, GAM) would be strengthened by explicit citations to the original method papers so readers can trace implementation details without external search.
- [Architecture description] The description of the metime_analyser container and piping interface is clear at a high level but lacks a concrete workflow diagram or pseudocode example showing how provenance is serialized across mod_/calc_/meta_ steps; adding one would improve immediate usability for new users.
Simulated Author's Rebuttal
We thank the referee for their positive and constructive review of our manuscript describing the MeTime R package. We appreciate the recognition of the package's architecture for supporting reproducible longitudinal metabolomics workflows and the recommendation to accept.
Circularity Check
No significant circularity; software description only
full rationale
The manuscript presents an R package architecture (metime_analyser S4 container, mod_/calc_/meta_ piping, provenance retention, wrapped methods) without any derivation chain, predictions, fitted parameters, or first-principles results. No equations, uniqueness theorems, or self-citations of load-bearing mathematical claims appear. The central claim—that the container and workflow enable unified reproducible handling—follows directly from the explicit design description and does not reduce to its own inputs by construction. This is a standard honest non-finding for a methods/software paper.
Axiom & Free-Parameter Ledger
Lean theorems connected to this paper
-
IndisputableMonolith/Cost/FunctionalEquation.leanwashburn_uniqueness_aczel unclearcentral S4 container, metime_analyser, that stores multiple datasets, associated metadata and analysis outputs, enabling unified handling of complex longitudinal studies. Analyses are constructed by piping modular functions, beginning with data transformations (mod_), followed by calculations (calc_), and optional meta-analysis (meta_*)
Reference graph
Works this paper leans on
-
[1]
Institute of Computational Biology, Helmholtz Zentrum München, German Research Center for Environmental Health, Neuherberg, Germany
-
[2]
Department of Psychiatry and Behavioral Sciences, Duke Institute for Brain Sciences, Department of Medicine, Duke University, Durham, NC, USA. * Equal contribution # Correspondence to: matthias.arnold@helmholtz-munich.de Abstract MeTime is an opensource R package for reproducible analysis of longitudinal metabolomics data. It builds upon a central S4 cont...
-
[3]
Introduction Longitudinal metabolomics provides a powerful framework for characterizing temporal changes in metabolite profiles within an organism. By capturing within-subject dynamics over time, longitudinal designs enable the investigation of molecular responses to stimuli, interventions, and disease progression, while accounting for inter-individual va...
work page 2017
-
[4]
Implementation and Functionality MeTime enables transparent and reproducible analytical pipelines for longitudinal omics data by centering all inputs, outputs, and provenance in a single S4 container, the metime_analyser. This object stores raw and processed data, analytical results, and detailed metadata describing each pipeline step (called functions, p...
work page 2022
-
[5]
Exemplary analysis To demonstrate the functionality of MeTime, we provide three complementary usage examples. First, the package includes the publicly available HuMet dataset (Weinisch et al., 2024), which is used in the GitHub tutorials and example workflows as a small and accessible dataset for learning the package and exploring its main functions. Seco...
work page 2024
-
[6]
Conclusion MeTime provides a comprehensive framework for the reproducible analysis of longitudinal metabolomics data by enabling rapid construction of transparent and modular analytical pipelines. By integrating data management, statistical modeling, result storage, and report generation within a single S4-based architecture, MeTime thereby reduces the te...
-
[7]
Rosato, A., Tenori, L., Cascante, M., De Atauri Carulla, P. R., Martins dos Santos, V. A., & Saccenti, E. (2018). From correlation to causation: analysis of metabolomics data using systems biology approaches. Metabolomics, 14, 1-20
work page 2018
-
[8]
A., Rosati, G., Moguet, C., Fuentes, C., Marrugo-Ramírez, J., Lefebvre, T.,
Castelli, F. A., Rosati, G., Moguet, C., Fuentes, C., Marrugo-Ramírez, J., Lefebvre, T., ... & Junot, C. (2022). Metabolomics for personalized medicine: the input of analytical chemistry from biomarker discovery to point-of-care tests. Analytical and bioanalytical chemistry, 414(2), 759-789
work page 2022
-
[9]
Shen, S., Zhan, C., Yang, C., Fernie, A. R., & Luo, J. (2023). Metabolomics-centered mining of plant metabolic diversity and function: Past decade and future perspectives. Molecular Plant, 16(1), 43-63
work page 2023
-
[10]
Arnold, M., Nho, K., Kueider-Paisley, A., Massaro, T., Huynh, K., Brauner, B., ... & Kastenmüller, G. (2020). Sex and APOE ε4 genotype modify the Alzheimer’s disease serum metabolome. Nature communications, 11(1), 1148
work page 2020
-
[11]
E., Kluttig, A., Tiller, D., Medenwald, D., Giegling, I., Rujescu, D.,
Lacruz, M. E., Kluttig, A., Tiller, D., Medenwald, D., Giegling, I., Rujescu, D., ... & Kastenmüller, G. (2018). Instability of personal human metabotype is linked to all-cause mortality. Scientific reports, 8(1), 9810
work page 2018
-
[12]
S., Guo, A., Oler, E., Wang, F., Anjum, A., Peters, H.,
Wishart, D. S., Guo, A., Oler, E., Wang, F., Anjum, A., Peters, H., ... & Gautam, V. (2022). HMDB 5.0: the human metabolome database for 2022. Nucleic acids research, 50(D1), D622-D631
work page 2022
-
[13]
Trifonova, O. P., Maslov, D. L., Balashova, E. E., & Lokhov, P. G. (2023). Current State and Future Perspectives on Personalized Metabolomics. Metabolites, 13(1), 67
work page 2023
-
[14]
Gibbons, R. D., Hedeker, D., & DuToit, S. (2010). Advances in analysis of longitudinal data. Annual review of clinical psychology, 6, 79-107
work page 2010
-
[15]
A., Kastenmüller, G., Gieger, C., Shin, S
Yousri, N. A., Kastenmüller, G., Gieger, C., Shin, S. Y., Erte, I., Menni, C., ... & Suhre, K. (2014). Long term conservation of human metabolic phenotypes and link to heritability. Metabolomics, 10, 1005-1017
work page 2014
-
[16]
Krumsiek, J., Suhre, K., Illig, T., Adamski, J., & Theis, F. J. (2011). Gaussian graphical modeling reconstructs pathway reactions from high-throughput metabolomics data. BMC systems biology, 5, 1-16
work page 2011
-
[17]
Epskamp, S., Waldorp, L. J., Mõttus, R., & Borsboom, D. (2018). The Gaussian graphical model in cross-sectional and time-series data. Multivariate behavioral research, 53(4), 453-480
work page 2018
-
[18]
Considine, E. C., Thomas, G., Boulesteix, A. L., Khashan, A. S., & Kenny, L. C. (2018). Critical review of reporting of the data analysis step in metabolomics. Metabolomics, 14, 1-16
work page 2018
-
[19]
Du, X., Aristizabal-Henao, J. J., Garrett, T. J., Brochhausen, M., Hogan, W. R., & Lemas, D. J. (2022). A checklist for reproducible computational analysis in clinical metabolomics research. Metabolites, 12(1), 87
work page 2022
-
[20]
Baker, M. (2016). Why scientists must share their research code. Nature
work page 2016
- [21]
-
[22]
P., Schweickart, A., Batra, R., Buyukozkan, M.,
Chetnik, K., Benedetti, E., Gomari, D. P., Schweickart, A., Batra, R., Buyukozkan, M., ... & Krumsiek, J. (2022). maplet: an extensible R toolbox for modular and reproducible metabolomics pipelines. Bioinformatics, 38(4), 1168-1170
work page 2022
-
[23]
Grabert, G., Dehncke, D., More, T., List, M., Kraft, A. R., Cornberg, M., ... & Kacprowski, T. (2024). MeTEor: an R Shiny app for exploring longitudinal metabolomics data. Bioinformatics Advances, 4(1), vbae178
work page 2024
-
[24]
M., Wickham, H., Henry, L., & Henry, M
Bache, S. M., Wickham, H., Henry, L., & Henry, M. L. (2022). Package ‘magrittr’. R. Package Version
work page 2022
-
[25]
SummarizedExperiment: SummarizedExperiment container
Morgan M, Obenchain V, Hester J, Pagès H (2023). SummarizedExperiment: SummarizedExperiment container. doi:10.18129/B9.bioc.SummarizedExperiment
-
[26]
rmarkdown: Dynamic Documents for R
Allaire J, Xie Y, Dervieux C, McPherson J, Luraschi J, Ushey K, Atkins A, Wickham H, Cheng J, Chang W, Iannone R (2023). rmarkdown: Dynamic Documents for R. R package version 2.25, https://github.com/rstudio/rmarkdown
work page 2023
-
[27]
Weinisch, P., Raffler, J., Römisch-Margl, W., Arnold, M., Mohney, R. P., Rist, M. J., ... & Kastenmüller, G. (2024). The HuMet Repository: Watching human metabolism at work. Cell reports, 43(8)
work page 2024
-
[28]
Marella, B., Weinisch, P., Bless, J. J., Risacher, S. L., Blach, C., Karu, N., ... & Alzheimer’s Disease Neuroimaging Initiative. (2025). A seven-year longitudinal study of the Alzheimer’s disease blood metabolome. medRxiv
work page 2025
-
[29]
Author contributions Conceptualization & Methodology: GK, MA; Code development & software: BM, PW, MA; Funding acquisition: GK, MA; Testing: BM, PW, VT, LV, YN, MA; Writing – original draft: BM, JJB, MA; Writing – review & editing: All authors
-
[30]
A Healthy Diet for a Healthy Life
Acknowledgements This work was supported by the National Institutes of Health/the National Institute on Aging through grants 1RF1AG057452, R01AG069901, U01AG061359, and R01AG081322. This work was also supported by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) FOR 5795 (HyperMet) and by the German Federal Ministry of Education and R...
work page 2020
-
[31]
Conflicts of interest All authors declared no conflicts. metime_analyser meta_results base R datatypes output files Day tSNE1 tSNE2 Challenge Association analysis Data characteristics Conservation index humet_object %>% mod_trans_zscore(...) %>% calc_conservation_metabolite(...) %>% mod_generate_plots(...) humet_object %>% mod_merge_row_data_and_data(...)...
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.