Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Simon CHEVOLLEAU
Embryo functions
Commits
b3c30d8e
Commit
b3c30d8e
authored
Mar 11, 2022
by
simon.chevolleau
Browse files
Update
parent
046a07e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
functions.R
View file @
b3c30d8e
...
...
@@ -333,8 +333,8 @@ one_dimension <- function(x, annot, text_annot, name_annot, size_point = 3, segm
plot
<-
ggplot
(
df
,
aes
(
x
=
x
,
y
=
y
,
colour
=
annot
))
+
unlist
(
plot_annot
)
+
scale_x_continuous
(
limits
=
c
(
pos_text
[
2
]
+
pos_text
[
2
]
*
50
/
100
,
max
(
df
$
x
)
+
max
(
df
$
x
)
*
50
/
100
))
+
scale_y_continuous
(
limits
=
c
(
m
in
(
df
$
y
)
+
min
(
df
$
y
)
*
50
/
100
,
max
(
df
$
y
)
+
max
(
df
$
y
)
*
50
/
100
))
+
scale_x_continuous
(
limits
=
c
(
max
(
df
$
x
)
-
1.5
*
max
(
df
$
x
)
,
1.5
*
max
(
df
$
x
)))
+
scale_y_continuous
(
limits
=
c
(
m
ax
(
df
$
y
)
-
1.5
*
max
(
df
$
y
)
,
1.5
*
max
(
df
$
y
)))
+
theme
(
panel.background
=
element_blank
(),
axis.text
=
element_blank
(),
axis.ticks
=
element_blank
(),
...
...
Write
Preview
Supports
Markdown
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