Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bios4biol
bioinfo-utils
Commits
114f8632
Commit
114f8632
authored
Nov 13, 2018
by
Celine Noirot
Browse files
matthias correction
parent
e1f89367
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/DEG.R
View file @
114f8632
...
...
@@ -13,8 +13,8 @@
### ---------------------Packages
#common packages
packages
<-
c
(
"igraph"
,
# new unmet dependency for mixOmics
"optparse"
,
# to read arguments from a command line
packages
<-
c
(
"igraph"
,
"optparse"
,
# to read arguments from a command line
"ggplot2"
,
# nice plots
"gridExtra"
,
# multiple plots on one page
"grid"
,
# multiple plots on one page for MAplots
...
...
@@ -27,9 +27,9 @@ packages <- c("igraph", # new unmet dependency for mixOmics
for
(
package
in
packages
){
# if package is installed locally, load
if
(
!
(
package
%in%
rownames
(
installed.packages
())))
{
install.packages
(
package
,
repos
=
"http://cran.u
niv-paris1.fr
"
)
}
#
if (!(package %in% rownames(installed.packages()))) {
install.packages
(
package
,
repos
=
"http://cran.u
s.r-project.org
"
)
#
}
do.call
(
'library'
,
list
(
package
))
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment