Install

Software installation and updates. 

0 – Mac OS users only: install X Quartz first https://www.xquartz.org/

1 – Install the mixOmics package from Bioconductor You may need to install the latest R version and the latest BiocManager version (follow these instructions if you use R versions <=3.5.0). Install mixOmics using the following code:

## install BiocManager if not installed 
if (!requireNamespace("BiocManager", quietly = TRUE))    
install.packages("BiocManager")
## install mixOmics
BiocManager::install("mixOmics")

1 (alternative) – To obtain the latest update of mixOmics (as Bioconductor updates mixOmics every 6 months) you will need to pull from our gitHub page using the ‘devtools’ and ‘install_github’ libraries. Note that this latest version of mixOmics is under development and may not be stable, check the gitHub page for releases which have passed package testing. Install the library ‘devtools’ in R, then load and install mixOmics from gitHub:

## install devtools
install.packages("devtools")
## install latest github version of mixOmics
devtools::install_github("mixOmicsTeam/mixOmics")

2 – Check after install that the following does not throw any error (see step 0) and that the welcome message confirms you have installed mixOmics. If this is not the case, try step 1 alternative (installation from gitHub):

library(mixOmics) 

We also advise using the software RStudio (Posit)

If R throws an error, you may have to install the latest R version here: https://cran.r-project.org/