Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
biopet.biopet
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Mirrors
biopet.biopet
Commits
144ccd5d
Commit
144ccd5d
authored
Mar 29, 2017
by
akaljuvee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
possibility to use log scale for the x and y axis
parent
0cbb7ecf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
biopet-utils/src/main/resources/nl/lumc/sasc/biopet/utils/rscript/plotXY.R
...main/resources/nl/lumc/sasc/biopet/utils/rscript/plotXY.R
+1
-0
biopet-utils/src/main/scala/nl/lumc/sasc/biopet/utils/rscript/LinePlot.scala
...in/scala/nl/lumc/sasc/biopet/utils/rscript/LinePlot.scala
+1
-1
No files found.
biopet-utils/src/main/resources/nl/lumc/sasc/biopet/utils/rscript/plotXY.R
View file @
144ccd5d
...
...
@@ -42,6 +42,7 @@ plot = ggplot(DF1, aes(x = Rank, y = value, group = variable, color = variable))
theme_bw
()
+
geom_line
()
if
(
arguments
$
xLog10
==
"true"
)
{
if
(
!
is.null
(
arguments
$
xLog10Labels
))
{
scale_x
<-
scale_x_log10
(
breaks
=
arguments
$
xLog10Breaks
,
labels
=
arguments
$
xLog10Labels
)
...
...
biopet-utils/src/main/scala/nl/lumc/sasc/biopet/utils/rscript/LinePlot.scala
View file @
144ccd5d
...
...
@@ -38,7 +38,7 @@ class LinePlot(val root: Configurable) extends Rscript {
var
title
:
Option
[
String
]
=
config
(
"title"
)
var
removeZero
:
Boolean
=
config
(
"removeZero"
,
default
=
false
)
//
whether to use log scale for x and y axis
//whether to use log scale for x and y axis
var
xLog10
:
Boolean
=
false
var
yLog10
:
Boolean
=
false
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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