You can install the development version of MetaNetis from GitHub with:
install.packages("devtools")
library("devtools")
devtools::install_github("dujay971226/MetaNetis", build_vignettes = TRUE, dependencies = TRUE)
library("MetaNetis")To run the Shiny app:
runMetaNetis()MetaNetis is an
The package’s core value lies in its ability to generate high-confidence classifications and translate those classifications into functional insights about metabolic pathway activity.
Critically, MetaNetis offers robust functionality to evaluate quantitative, clinical sampled data such as blood and urine. This capability is a key differentiator from existing tools; for instance, popular platforms like MetaboAnalyst are often restricted to qualitative analysis, relying solely on pathway enrichment. MetaNetis moves beyond enrichment to provide a direct, directional assessment of metabolic activity (e.g., hyper- or hypo-regulation), making it a powerful tool for metabolomic and clinical research.
MetaNetis Package Overviewls("package:MetaNetis")
data(package = "MetaNetis")
browseVignettes("MetaNetis")MetaNetis contains 7 functions.
-
GetRefRanges for retrieving the established reference concentration ranges sourced from HMDB (Human Metabolome Database), used to classify metabolite values.
-
SetAltBaseline for setting an alternative comparison baseline (instead of the standard reference) for subsequent metabolite analysis.
-
MetabAnalysis for comparing raw metabolite concentration values in samples against reference ranges or baselines to determine if each metabolite is ‘High,’ ‘Low,’ or ‘Normal.’
-
GetPathwayMap for loading the internal data frame that links individual metabolite identifiers to their respective metabolic pathways sourced from HMDB.
-
MapToPathway for aggregating the metabolite concentration status scores for a given sample into a single Net Score for each pathway, indicating pathway activity status.
-
PlotNetwork for generating a visual network graph that displays pathways as nodes, colored by their Net Score, and links them based on the number of shared metabolites.
-
runMetaNetis for executing the shiny interface, including loading sample data, scoring, mapping, and network visualization.
Author and Core Package ContributionsThe package MetaNetis was conceived
and primarily developed by
Generative AI Tool ContributionsThe generative AI tool, Gemini, served as a key collaborative partner throughout the development of MetaNetis. Its assistance was instrumental in ensuring code stability and clarity across the package. Specifically, Gemini was utilized to generate clear, comprehensive commenting and documentation for all core functions within the package. Furthermore, the AI tool provided essential debugging support for both the and functions, helping to resolve complex issues related to quantitative score aggregation and data matching across disparate input structures, ensuring the reliability of the core analytical pipeline.
Chong, J., & Xia, J. (2018). MetaboAnalystR: an R package for flexible and reproducible analysis of metabolomics data. Bioinformatics, 34(24), 4313–4314. https://doi.org/10.1093/bioinformatics/bty528
Csardi, G., & Nepusz, T. (2006). The igraph software package for complex network research. InterJournal, Complex Systems, 1695.
Google. (2025). Gemini.
Grolemund, G. (2015). Learn Shiny - Video Tutorials.
Müller, K., & Wickham, H. (2023). tibble: Simple data frames (Version 3.2.1). https://tibble.tidyverse.org/
Pedersen, T. L. (2022). ggraph: An implementation of grammar of graphics for graphs (Version 2.1.0). https://ggraph.data-imaginist.com
R Core Team. (2024). R: A language and environment for statistical computing. R Foundation for Statistical Computing. https://www.R-project.org/
Wickham, H. (2016). ggplot2: Elegant graphics for data analysis. Springer-Verlag.
Wickham, H., François, R., Henry, L., & Müller, K. (2023). dplyr: A grammar of data manipulation (Version 1.1.3). https://dplyr.tidyverse.org/
Wickham, H., & Hester, J. (2024). stringr: Simple, consistent string routines (Version 1.5.1). https://stringr.tidyverse.org/
Wickham, H., & Ruiz, M. (2023). tidyr: Tidy messy data (Version 1.3.0). https://tidyr.tidyverse.org/
Wishart, D. S., et al. (2022). HMDB 5.0: The Human Metabolome Database for 2022. Nucleic Acids Research, 50(D1), D218–D227. https://hmdb.ca/
This package was developed as part of an assessment for 2025 BCB410H: Applied Bioinformatics course at the University of Toronto, Toronto, CANADA. MetaNetis welcomes issues, enhancement requests, and other contributions. To submit an issue, use the GitHub issues.