R and RStudio
Section outline
-
Preparation of R for enrichment analysis tool – 4.12.2020
Two options are available to perform the exercises of the enrichment analysis course.
1. Local installation of R and RStudio:
Install R:
Install RStudio (free version is fine)
https://rstudio.com/products/rstudio/download/
Once R and RStudio are installed, open RStudio only (no need to open R, RStudio connects automatically to your installation of R).
Install the necessary packages using the following commands:
install.packages("BiocManager”)
BiocManager::install(c("org.Hs.eg.db", "clusterProfiler", "pathview"))
2. Another option is to create an R session on the RStudio cloud:
Create a free account. Then, go to “Workspace” and create a new project by clicking on “New project”. Once the new project has been deployed, install the necessary packages using the following commands:
install.packages("BiocManager”)
BiocManager::install(c("org.Hs.eg.db", "clusterProfiler", "pathview"))