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
Mirrors
biopet.biopet
Commits
835790c0
Commit
835790c0
authored
Mar 30, 2017
by
akaljuvee
Browse files
now shows legend title
parent
fb431e6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
biopet-utils/src/main/resources/nl/lumc/sasc/biopet/utils/rscript/plotXY.R
View file @
835790c0
...
...
@@ -36,7 +36,7 @@ if (arguments$removeZero == "true") print("Removed 0 values")
plot
=
ggplot
(
DF1
,
aes
(
x
=
Rank
,
y
=
value
,
group
=
variable
,
color
=
variable
))
+
xlab
(
xlab
)
+
ylab
(
arguments
$
ylabel
)
+
guides
(
fill
=
guide_legend
(
title
=
arguments
$
llabel
))
+
guides
(
color
=
guide_legend
(
title
=
arguments
$
llabel
))
+
theme
(
axis.text.x
=
element_text
(
angle
=
90
,
hjust
=
1
,
size
=
8
))
+
ggtitle
(
arguments
$
title
)
+
theme_bw
()
+
...
...
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