Commit 063fede3 authored by Celine Noirot's avatar Celine Noirot
Browse files

Debug library dependancies

parent 000aeca3
......@@ -15,12 +15,13 @@
packages <- c("optparse", # to read arguments from a command line
"ggplot2", # nice plots
"RJSONIO", # work with JSON file
"DBI")
"DBI",
"svglite")
for(package in packages){
# if package is installed locally, load
if (!(package %in% rownames(installed.packages()))) {
install.packages(package)
install.packages(package, repos="http://cran.univ-paris1.fr")
}
do.call('library', list(package))
}
......@@ -29,6 +30,8 @@ for(package in packages){
if (!("topGO" %in% rownames(installed.packages()))) {
source("http://www.bioconductor.org/biocLite.R")
biocLite("topGO", suppressUpdates = TRUE, suppressAutoUpdate = TRUE, ask = FALSE)
biocLite("Rgraphviz", suppressUpdates = TRUE, suppressAutoUpdate = TRUE, ask = FALSE)
}
library(topGO) # GO enrichment
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment