Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
b0659963
Commit
b0659963
authored
Apr 24, 2015
by
Mathieu Giraud
Browse files
core/segment.cpp: compute e-value
Fix
6ceffe02
. We forgot to re-compute the total e-value.
parent
44d74052
Changes
1
Hide whitespace changes
Inline
Side-by-side
algo/core/segment.cpp
View file @
b0659963
...
...
@@ -427,6 +427,7 @@ void KmerSegmenter::computeSegmentation(int strand, KmerAffect before, KmerAffec
pair
<
double
,
double
>
pvalues
=
kaa
->
getLeftRightProbabilityAtLeastOrAbove
();
evalue_left
=
pvalues
.
first
*
multiplier
;
evalue_right
=
pvalues
.
second
*
multiplier
;
evalue
=
evalue_left
+
evalue_right
;
// We labeled it detected if there were both enough affect_5 and enough affect_3
detected
=
(
max
.
nb_before_left
+
max
.
nb_before_right
>=
DETECT_THRESHOLD
)
...
...
Write
Preview
Markdown
is supported
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