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
62b6d9e2
Commit
62b6d9e2
authored
Aug 31, 2021
by
Remi PLANEL
Browse files
Remove autosizable option
parent
7799a582
Pipeline
#64225
passed with stages
in 2 minutes and 26 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/scripts/component/qtl/genome-scan.ts
View file @
62b6d9e2
...
...
@@ -11,11 +11,8 @@ export default function () {
function
genomeScan
(
_selection
:
d3Selection
.
Selection
<
HTMLDivElement
,
GenomeScanData
,
any
,
any
>
,
chromosomes
:
String
[]
|
undefined
=
undefined
)
{
console
.
error
(
"
chromosomes
"
)
console
.
log
(
chromosomes
)
const
threholdFormat
=
d3Format
.
format
(
"
.2f
"
);
_selection
.
each
(
function
({
lod_score_per_chromosome
,
significance_thresholds
}:
GenomeScanData
)
{
console
.
log
(
"
chromosomes
"
)
const
container
=
this
;
if
(
container
)
{
const
maxLodScoreStr
=
d3Array
.
max
(
lod_score_per_chromosome
,
d
=>
d
.
lod
);
...
...
@@ -115,7 +112,7 @@ export default function () {
...
yaxis
,
title
:
"
LOD score
"
,
}
Plotly
.
react
(
container
,
traces
,
layout
,
{
responsive
:
true
,
autosizable
:
true
});
Plotly
.
react
(
container
,
traces
,
layout
,
{
responsive
:
true
});
// .then(function (root) {
// root.removeAllListeners('plotly_legendclick')
// root.removeAllListeners('plotly_legenddoubleclick')
...
...
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