if (!requireNamespace("BiocManager", quietly = TRUE)) {
install.packages("BiocManager")
}
if (!requireNamespace("remotes", quietly = TRUE)) {
install.packages("remotes")
}
remotes::install_github(
"jaspershen-lab/mapa",
dependencies = TRUE,
repos = BiocManager::repositories(),
upgrade = "ask"
)1 Installation
Follow the steps below to install the latest development version of MAPA from GitHub (the script first installs BiocManager and remotes if you don’t have them):
library(mapa)
Note
Possible Dependency Conflict: If mapa installation failed because the simplifyEnrichment version is incompatible, update Bioconductor to version 3.20 or newer. To do that, you’ll need R environment 4.4.0 or newer.