Learn R Programming

mseapca

Metabolite set enrichment analysis for loadings

mseapca provides functions for metabolite set enrichment analysis with loading in principal component anaysis and partial least squares, and single sample enrichment analysis.

  • Metabolite set enrichment analysis [1] can be performed using the "msea_ora" or "msea_sub" functions.

  • Our mseapca package utilizes the loadings package ( https://cran.r-project.org/web/packages/loadings ) to conduct multivariate analyses like PCA and PLS, along with their respective loadings.

  • The "ssea_ora" function can be used to compute single sample enrichment analysis based on over-representation analysis [2].

  • The "msea_ora" function performs over-representation analysis while accounting for undetected metabolites [3].

  • The "msea_ora_range" function estimates the possible range of p-values under uncertainty caused by undetected metabolites [3].

References
[1] Yamamoto H. et al., BMC Bioinformatics, (2014) 15(1):51. doi: https://doi.org/10.1186/1471-2105-15-51
[2] Yamamoto H. , Jxiv, (2023). doi: https://doi.org/10.51094/jxiv.484 [3] Yamamoto H. , Jxiv, (2024). doi: https://doi.org/10.51094/jxiv.954

Installation (in preparation)

The latest stable version can be installed from CRAN:

install.packages("mseapca")

The latest development version can be installed from GitHub:

# install.packages("devtools")
devtools::install_github("hiroyukiyamamoto/mseapca")

Copy Link

Version

Install

install.packages('mseapca')

Monthly Downloads

175

Version

2.2.1

License

LGPL-3

Maintainer

Hiroyuki Yamamoto

Last Published

July 5th, 2025

Functions in mseapca (2.2.1)

pathway

Example of metabolite set list for fasting and covid19 datasets
read_pathway

Read metabolite set file (*.xml)
ora_bino

Over-representation analysis with binomial resampling adjustment
msea_ora_range

Wrapper function for Over-Representation Analysis with p-value range estimation
csv2list

Convert metabolite set / csv to list
ssea_ora

Single sample enrichment analysis by over representation analysis
ora_det

ORA using detected metabolites
msea_ora

Wrapper function for over-representation analysis (ORA)
fasting_mseapca

Metabolome data from a fasting mouse study
ora_all

ORA using all metabolites
ora_est

ORA adjusting for undetected metabolites
setlabel

Generate binary label matrix of metabolite set
msea_sub

MSEA by Subramanian et al.
list2xml

Save compound set as XML file
ora_full

Over-representation analysis with full enumeration of undetected metabolite patterns
pathbank2list

Generate metabolite set list from PathBank database