Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
halfpipe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Till Wesselmann
halfpipe
Commits
5351eae0
Commit
5351eae0
authored
3 years ago
by
Till Wesselmann
Browse files
Options
Downloads
Patches
Plain Diff
Use linechart for displaying mean gc in contrast to duplicated reads
parent
3bc43f73
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
halfpipe/static/js/pre_alignment_qc.js
+5
-2
5 additions, 2 deletions
halfpipe/static/js/pre_alignment_qc.js
with
5 additions
and
2 deletions
halfpipe/static/js/pre_alignment_qc.js
+
5
−
2
View file @
5351eae0
...
...
@@ -133,13 +133,16 @@ const duplicationChart = new Chart(duplicationCtx, {
const
meanGCCtx
=
document
.
getElementById
(
"
mean_gc
"
)
const
meanGCData
=
data
.
duplication
.
mean_gc
.
slice
(
0
,
trimRightIndex
(
data
.
duplication
.
mean_gc
)
+
15
)
const
meanGCChart
=
new
Chart
(
meanGCCtx
,
{
type
:
'
bar
'
,
type
:
'
line
'
,
data
:
{
labels
:
Array
.
from
(
Array
(
meanGCData
.
length
).
keys
()),
datasets
:
[{
backgroundColor
:
BAR_COLOR
,
label
:
"
Mean gc
"
,
data
:
meanGCData
data
:
meanGCData
.
map
(
x
=>
x
===
0
?
NaN
:
x
),
spanGaps
:
true
,
cubicInterpolationMode
:
"
default
"
,
lineTension
:
0.3
,
}]
},
})
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment