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
Zeller Group
SIAMCAT
Commits
ecf8ef7c
Commit
ecf8ef7c
authored
Jan 12, 2018
by
Konrad Zych
Browse files
Merge branch 'development'
parents
c317f8d5
0ff962a6
Pipeline
#3077
passed with stage
in 6 minutes and 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Rscript_flavor/10_make_predictions.r
View file @
ecf8ef7c
...
...
@@ -65,7 +65,7 @@ write(pred.header, file=opt$pred, append=FALSE)
if
(
length
(
unique
(
names
(
pred
$
pred
)))
<
length
(
pred
$
pred
))
{
suppressWarnings
(
write.table
(
pred
$
mat
,
file
=
opt
$
pred
,
quote
=
FALSE
,
sep
=
'\t'
,
row.names
=
TRUE
,
col.names
=
NA
,
append
=
TRUE
))
}
else
{
write.table
(
pred
$
pred
,
file
=
opt
$
pred
,
quote
=
FALSE
,
sep
=
'\t'
,
row.names
=
TRUE
,
col.names
=
FALSE
,
append
=
TRUE
)
suppressWarnings
(
write.table
(
pred
$
pred
,
file
=
opt
$
pred
,
quote
=
FALSE
,
sep
=
'\t'
,
row.names
=
TRUE
,
col.names
=
NA
,
append
=
TRUE
)
)
}
cat
(
'\nSaved all predictions\n'
)
...
...
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