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
Mirrors
biopet.biopet
Commits
6e3f759c
Commit
6e3f759c
authored
Nov 24, 2016
by
Peter van 't Hof
Browse files
Fix typo
parent
3a281c59
Changes
1
Hide whitespace changes
Inline
Side-by-side
biopet-tools/src/main/scala/nl/lumc/sasc/biopet/tools/bamstats/BamStats.scala
View file @
6e3f759c
...
...
@@ -127,7 +127,7 @@ object BamStats extends ToolCommand {
def
aggregateStats
(
table
:
Map
[
String
,
Array
[
Long
]])
:
Map
[
String
,
Any
]
=
{
val
values
=
table
(
"value"
)
val
counts
=
table
(
"count"
)
require
(
values
.
size
==
counts
)
require
(
values
.
size
==
counts
.
size
)
if
(
values
.
nonEmpty
)
{
val
modal
=
values
(
counts
.
indexOf
(
counts
.
max
))
val
totalCounts
=
counts
.
sum
...
...
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