- clone the repo
- download the expression data #TODO
- install the required R packages
- Install Seurat 2.3.3 by following the instructions here or downloading the source from github and installing from within an R session using
install.packages(pkgs="<path_to_seurat_source>", type=source, repos=NULL)
- Install Bioconductor packages Biobase and STRINGdb
- Install CRAN packages by installing renv and running either
renv::init()
orrenv::restore(lockfile="./renv.lock")
. Alternatively install the packages manually: here, optparse, dplyr, Matrix, parallel, reshape, reshape2, liger, boot, R.utils, readr. For a full list of packages loaded into the session namespace, see packages.txt
- Install Seurat 2.3.3 by following the instructions here or downloading the source from github and installing from within an R session using
- Edit the parameters in
run_wgcna.sh
as desired (runRscript ./wgcna.R --help
for information on parameters) and run the analysis usingbash run_wgcna.sh