R packages installation

R packages

For the training session, you need to install specific packages:

  • WGCNA: 1.71
  • SNFtool: 2.3.1
  • network: 1.18.0
  • igraph: 1.3.5
  • ggplot2: 3.4.0
  • ggpmisc: 0.5.2
  • pheatmap: 1.0.12
  • cccd: 1.6
  • ecodist: 2.0.9
  • hilldiv: 1.5.1
  • compositions: 2.0.4

Training session is based on R: R version 4.1.0 (2021-05-18).

R Installation

Run this chunk to download and install them in your R console:

packageList <- c("WGCNA", "SNFtool", "network", "igraph", "ggplot2", "ggpmisc", "pheatmap", 
                 "cccd", "ecodist", "hilldiv", "compositions")

lapply(packageList, function(p){
  if (!require(p, quietly = TRUE))
  install.packages(p)
})

Last available version will be installed

Conda environment

A conda spec file is available too: R_conda_environment.txt.

In your terminal, run:

conda create --name myenv --file R_conda_environment.txt