diff options
author | Zachary Sloan | 2013-03-07 23:42:58 +0000 |
---|---|---|
committer | Zachary Sloan | 2013-03-07 23:42:58 +0000 |
commit | 51db16394ebe5936a2078293c676744b7ea74fc6 (patch) | |
tree | ee809a239fdf49b9ee6b6605d71a44bde7d74900 /wqflask/base/data_set.py | |
parent | 3624c63e3373cb45ffcc8cfdbb8889765a3b5326 (diff) | |
download | genenetwork2-51db16394ebe5936a2078293c676744b7ea74fc6.tar.gz |
Progress bar is now completely working
Still need to figure out the problem that occurred
with negative p-values after I refactored the LMM
code
Diffstat (limited to 'wqflask/base/data_set.py')
-rwxr-xr-x | wqflask/base/data_set.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wqflask/base/data_set.py b/wqflask/base/data_set.py index c6d67e68..d474302c 100755 --- a/wqflask/base/data_set.py +++ b/wqflask/base/data_set.py @@ -75,6 +75,7 @@ class Markers(object): def add_pvalues(self, p_values): for marker, p_value in itertools.izip(self.markers, p_values): marker['p_value'] = p_value + print("p_value is:", marker['p_value']) marker['lod_score'] = -math.log10(marker['p_value']) #Using -log(p) for the LRS; need to ask Rob how he wants to get LRS from p-values marker['lrs_value'] = -math.log10(marker['p_value']) * 4.61 |