Mercurial > repos > mingchen0919 > wgcna
comparison soft-threshold.R @ 4:5717a09ed722 draft
Uploaded
author | mingchen0919 |
---|---|
date | Tue, 28 Feb 2017 10:46:47 -0500 |
parents | b434ba108e9b |
children |
comparison
equal
deleted
inserted
replaced
3:55b76aecccec | 4:5717a09ed722 |
---|---|
1 #!/usr/binenv Rscript | 1 #!/usr/binenv Rscript |
2 | |
3 ## Create the personal library if it doesn't exist. Ignore a warning if the directory already exists. | |
4 dir.create(Sys.getenv("R_LIBS_USER"), showWarnings = FALSE, recursive = TRUE) | |
5 ## Install one package. | |
6 install.packages("getopt", Sys.getenv("R_LIBS_USER"), repos = "http://cran.case.edu", dependencies = TRUE ) | |
7 install.packages("ggplot2", Sys.getenv("R_LIBS_USER"), repos = "http://cran.case.edu" , dependencies = TRUE) | |
8 install.packages("ggdendro", Sys.getenv("R_LIBS_USER"), repos = "http://cran.case.edu" , dependencies = TRUE) | |
9 install.packages("class", Sys.getenv("R_LIBS_USER"), repos = "http://cran.case.edu" , dependencies = TRUE) | |
10 install.packages("cluster", Sys.getenv("R_LIBS_USER"), repos = "http://cran.case.edu" , dependencies = TRUE) | |
11 install.packages("impute", Sys.getenv("R_LIBS_USER"), repos = "http://cran.case.edu" , dependencies = TRUE) | |
12 install.packages("Hmisc", Sys.getenv("R_LIBS_USER"), repos = "http://cran.case.edu" , dependencies = TRUE) | |
13 install.packages("WGCNA", Sys.getenv("R_LIBS_USER"), repos = "http://cran.case.edu" , dependencies = TRUE) | |
14 | |
2 | 15 |
3 # A command-line interface to WGCNA for use with galaxy | 16 # A command-line interface to WGCNA for use with galaxy |
4 | 17 |
5 | 18 |
6 # setup R error handline to go to stderr | 19 # setup R error handline to go to stderr |