Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
umrf
ranomaly
Commits
270b1807
Commit
270b1807
authored
Nov 09, 2021
by
Sebastien Theil
Browse files
modify legend position
parent
83d2e38e
Changes
1
Hide whitespace changes
Inline
Side-by-side
R/diversity_alpha_fun.R
View file @
270b1807
...
@@ -18,7 +18,7 @@ alphaPlot <- function(data = data, col1 = "", col2 = "", measures = c("Shannon")
...
@@ -18,7 +18,7 @@ alphaPlot <- function(data = data, col1 = "", col2 = "", measures = c("Shannon")
p
<-
p
+
ggtitle
(
'Alpha diversity indexes'
)
+
geom_boxplot
(
alpha
=
1
,
outlier.shape
=
NA
)
+
p
<-
p
+
ggtitle
(
'Alpha diversity indexes'
)
+
geom_boxplot
(
alpha
=
1
,
outlier.shape
=
NA
)
+
theme_bw
()
+
theme_bw
()
+
theme
(
axis.text.x
=
element_text
(
angle
=
45
,
hjust
=
1
),
theme
(
axis.text.x
=
element_text
(
angle
=
45
,
hjust
=
1
),
legend.position
=
"
none
"
,
axis.text
=
element_text
(
size
=
15
),
legend.position
=
"
right
"
,
axis.text
=
element_text
(
size
=
15
),
axis.title
=
element_text
(
size
=
16
,
face
=
"bold"
),
axis.title
=
element_text
(
size
=
16
,
face
=
"bold"
),
strip.text.x
=
element_text
(
size
=
18
,
face
=
"bold"
),
strip.text.x
=
element_text
(
size
=
18
,
face
=
"bold"
),
title
=
element_text
(
size
=
16
,
face
=
"bold"
))
title
=
element_text
(
size
=
16
,
face
=
"bold"
))
...
...
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