Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
VEBER Philippe
codepi
Commits
7ac83d9d
Commit
7ac83d9d
authored
Aug 16, 2018
by
Carine Rey
Browse files
rm absent meths to get plot A'
parent
f6007d2f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lib/scripts/calc_t_per_meth.R
lib/scripts/calc_t_per_meth.R
+1
-1
No files found.
lib/scripts/calc_t_per_meth.R
View file @
7ac83d9d
...
...
@@ -296,10 +296,10 @@ plot_out = function(df_out, df_d , df_recall_sup09_per_meth, meths = NULL, suffi
colors2
=
c
(
"#984EA3"
,
"#4AA947"
,
"#377EB8"
,
"#E41A1C"
,
"#F5BE5B"
,
"#90EE90"
,
"#8B6914"
,
"#7F7F7F"
,
"#ADD8E6"
)
if
(
!
is.null
(
meths
))
{
df_out
=
df_out
[
df_out
$
methode
%in%
meths
,]
df_d
=
df_d
[
df_d
$
methode
%in%
meths
,]
df_recall_sup09_per_meth
=
df_recall_sup09_per_meth
[
df_recall_sup09_per_meth
$
methode
%in%
meths
,]
meths
=
meths
[
meths
%in%
df_out
$
methode
]
}
else
{
meths
=
sort
(
unique
(
df_out
$
methode
))
}
...
...
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