Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
ngs_tools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bioinfo
ngs_tools
Commits
d2e5dec2
Commit
d2e5dec2
authored
8 years ago
by
Holger Brandl
Browse files
Options
Downloads
Patches
Plain Diff
finished basic results integration
parent
89a8034b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
common/cp_enrichment.R
+4
-11
4 additions, 11 deletions
common/cp_enrichment.R
with
4 additions
and
11 deletions
common/cp_enrichment.R
+
4
−
11
View file @
d2e5dec2
...
...
@@ -20,9 +20,9 @@ Options:
opts
<-
docopt
(
doc
,
commandArgs
(
TRUE
))
## does not work when spining
# opts <- docopt(doc, "--overlay_expr_data ../plot_score_matrix.txt ../degs_by_contrast.txt contrast" )
devtools
::
source_url
(
"https://raw.githubusercontent.com/holgerbrandl/datautils/v1.2
6
/R/core_commons.R"
)
devtools
::
source_url
(
"https://raw.githubusercontent.com/holgerbrandl/datautils/v1.2
6
/R/ggplot_commons.R"
)
devtools
::
source_url
(
"https://raw.githubusercontent.com/holgerbrandl/datautils/v1.2
6
/R/bio/diffex_commons.R"
)
devtools
::
source_url
(
"https://raw.githubusercontent.com/holgerbrandl/datautils/v1.2
7
/R/core_commons.R"
)
devtools
::
source_url
(
"https://raw.githubusercontent.com/holgerbrandl/datautils/v1.2
7
/R/ggplot_commons.R"
)
devtools
::
source_url
(
"https://raw.githubusercontent.com/holgerbrandl/datautils/v1.2
7
/R/bio/diffex_commons.R"
)
loadpack
(
knitr
)
loadpack
(
DT
)
...
...
@@ -427,14 +427,7 @@ dir.create(pwPlotDir)
# session::restore.session(".pview_debug.dat");
## from http://stackoverflow.com/questions/7505547/detach-all-packages-while-working-in-r
## todo remove this once we use v1.27 of core_commons
detachAllPackages
<-
function
()
{
basic.packages
<-
c
(
"package:stats"
,
"package:graphics"
,
"package:grDevices"
,
"package:utils"
,
"package:datasets"
,
"package:methods"
,
"package:base"
)
package.list
<-
search
()[
ifelse
(
unlist
(
gregexpr
(
"package:"
,
search
()))
==
1
,
TRUE
,
FALSE
)]
package.list
<-
setdiff
(
package.list
,
basic.packages
)
if
(
length
(
package.list
)
>
0
)
for
(
package
in
package.list
)
detach
(
package
,
character.only
=
TRUE
)
}
detachAllPackages
()
unload_packages
()
devtools
::
source_url
(
"https://raw.githubusercontent.com/holgerbrandl/datautils/v1.26/R/core_commons.R"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment