0 – Mac OS users only
- Install X Quartz (https://www.xquartz.org/)
1 – Install the mixOmics package from Bioconductor
- Install latest R version (https://cran.r-project.org)
- Install latest Bioconductor version (https://www.bioconductor.org/install/)
- We advise using the software RStudio (Posit)
- Install mixOmics using the following code:
## install BiocManager if not installed
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
## then install mixOmics
BiocManager::install("mixOmics")
1 (Alternative) to obtain the latest update of mixOmics
mixOmics updates on Bioconductor every 6 months, but in-between these updates you can install the latest version of mixOmics from Github using the following code:
## install devtools
install.packages("devtools")
## then install latest github version of mixOmics
devtools::install_github("mixOmicsTeam/mixOmics")
⚠️ Note: the latest version of mixOmics on Github is under active development and may contain bugs, if you encounter issues please report them on the Github issues page and/or use the latest Bioconductor release version
2 – Check after install
Use the following code to load the mixOmics package and check the installation has worked:
library(mixOmics)