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
Remi PLANEL
bioviz-js
Commits
fd7b5692
Commit
fd7b5692
authored
Aug 31, 2021
by
Remi PLANEL
Browse files
clean
parent
6bdbd01a
Pipeline
#64232
failed with stages
in 1 minute and 33 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/scripts/component/qtl/genome-scan.ts
View file @
fd7b5692
...
...
@@ -25,7 +25,6 @@ export default function () {
// ? lod_score_per_chromosome.filter(d => d.chr === chromosomes)
:
lod_score_per_chromosome
const
chrDatasMap
=
d3Array
.
group
(
filteredLodScorePerChromosome
,
d
=>
d
.
chr
);
const
chrDatas
=
Array
.
from
(
chrDatasMap
,
([
key
,
values
])
=>
({
key
,
values
}))
const
chrCount
=
chrDatas
.
length
;
let
traces
=
chrDatas
.
map
((
dataPerChr
,
i
):
Data
=>
{
...
...
@@ -113,13 +112,6 @@ export default function () {
title
:
"
LOD score
"
,
}
Plotly
.
react
(
container
,
traces
,
layout
,
{
responsive
:
true
});
// .then(function (root) {
// root.removeAllListeners('plotly_legendclick')
// root.removeAllListeners('plotly_legenddoubleclick')
// root.on('plotly_legenddoubleclick', legendDoubleClickCallback)
// root.on('plotly_legendclick', legendClickCallback)
// })
}
}
...
...
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