mseapca

loadings sticker

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.

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")
install.packages("mseapca", repos = c('https://hiroyukiyamamoto.r-universe.dev', 'https://cloud.r-project.org'))

Note on ora_est() function

The current ora_est() function in the main branch contains a known bug when calculating enrichment under certain conditions (e.g., when accounting for undetected metabolites).

A fixed version is available in the development directory on GitHub: dev/ora_est.R We recommend using this version until the fix is included in the next CRAN release.