[33c603]: / set_up.R

Download this file

37 lines (30 with data), 1.3 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# This file contains intallation instructions for packages required to run Find_molecular_subtypes_TCGA.ipynb.
# We will need:
# - tidyverse, reticulate, tsne, factoextra and plyr for data exploration and wrangling,
# - ComplexHeatmap, ggalluvial, ggpubr, survival, survminer, GGally for plotting,
# - FactoMineR, NMF, PINSPlus and iClusterPlus for data integration.
# Hint: Try attaching required packages before the installation to check if they are not already installed on your machine / in your environment.
library(plyr)
library(tidyverse)
library(ComplexHeatmap)
library(ggalluvial)
library(ggpubr)
library(FactoMineR)
library(PINSPlus)
library(iClusterPlus)
library(RColorBrewer)
library(tsne)
library(reticulate)
library(survival)
library(survminer)
library(factoextra)
library(GGally)
library(enrichR)
# Install Bioconductor packages
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("ComplexHeatmap")
BiocManager::install("iClusterPlus")
# Install other required packages
install.packages(c('plyr', 'tidyverse', 'ggalluvial', 'ggpubr', 'FactoMineR', 'PINSPlus', 'RColorBrewer', 'tsne',
'reticulate', 'survival', 'survminer', 'factoextra', 'GGally', 'enrichR'))