WGCNA
1 Weighted Gene Co-expression Network Analysis
This package is provided through the R-language integration into Perseus and therefore requires R as well as the package itself to be installed in order to be used. Visit the PluginInterop and PerseusR for additional technical information on the integration of R and Perseus.
2 Installation
- Download the R installer install it.
- Remember the R installation directory. If you do not know where you have installed R, check the default location C:\Program Files\R\R-3.5.0\bin, or search forRscript.exe.
- Add R to your Pathenvironment variable. Open the start menu and search for “environment variables”, and select “Edit system environment variables”.
- Find the Pathvariable in the editor and selectEdit.
- Now we can add R to the Pathby clickingNewand entering the location of the.../binfolder of the R installation, e.gC:\Program Files\R\R-3.5.0\bin.
- In certain Windows version you might have to edit the Pathdirectly. ThePathconsists of folder locations separated by ‘;’. Therefore, just append the installation location of R and the ‘;’ separator. No spaces or quotes are required. If thePathvariable is not defined on your system, you can define it yourself.
- Check that R is installed correctly by opening cmd.exefrom the start menu and enteringRAn R session should start.
- Inside the running R session, install the WGCNA and PerseusR libraries by entering/pasting the following code line-by-line. When prompted for local install, type ‘yes’ twice and select a close-by server for the package download.
install.packages("BiocManager")
BiocManager::install(c("WGCNA", "devtools"))
library(devtools)
install_github('jdrudolph/PerseusR')
- You should now be able to load the WGCNAandPerseusRlibraries by entering the following code. Upon loading,WGCNAwill print some output, whilePerseusRwill not print any.
library(WGCNA)
library(PerseusR)
You are now ready to perform co-expression analysis from within Perseus.