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
khalid
radseqref
Commits
c83f85f4
Commit
c83f85f4
authored
Feb 06, 2020
by
mmassaviol
Browse files
Debug heatmap generation
parent
e1c8a657
Changes
1
Hide whitespace changes
Inline
Side-by-side
files/scripts/populations.prepare.report.R
View file @
c83f85f4
...
...
@@ -106,7 +106,7 @@ tryCatch({
png
(
filename
=
paste
(
parameters
$
results_dir
,
parameters
$
populations_output_dir
,
"IBS_mqc.png"
,
sep
=
"/"
),
height
=
800
,
width
=
800
)
topAnnot
=
HeatmapAnnotation
(
Population
=
pop_code1
,
col
=
list
(
Population
=
popc
))
leftAnnot
=
HeatmapAnnotation
(
Population
=
pop_code1
,
col
=
list
(
Population
=
popc
),
which
=
"row"
,
show_legend
=
FALSE
)
Heatmap
(
ibs
$
ibs
,
top_annotation
=
topAnnot
,
left_annotation
=
leftAnnot
)
print
(
Heatmap
(
ibs
$
ibs
,
top_annotation
=
topAnnot
,
left_annotation
=
leftAnnot
)
)
dev.off
()
},
error
=
function
(
e
)
{
png
(
filename
=
paste
(
parameters
$
results_dir
,
parameters
$
populations_output_dir
,
"IBS_mqc.png"
,
sep
=
"/"
),
height
=
800
,
width
=
800
)
...
...
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