aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorPjotr Prins2015-03-12 17:18:38 +0300
committerPjotr Prins2015-03-12 17:18:38 +0300
commit494edec995a38279eb1da21d520b2cb249eb1079 (patch)
tree504343a5af7e3a905f3aad49d88461a53793ead9 /wqflask
parentbd8e4f30cd1eb0a41399d8d94b516845da3c32a0 (diff)
downloadgenenetwork2-494edec995a38279eb1da21d520b2cb249eb1079.tar.gz
weird fix for lmm result - Python weirdness
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/my_pylmm/pyLMM/runlmm.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/wqflask/wqflask/my_pylmm/pyLMM/runlmm.py b/wqflask/wqflask/my_pylmm/pyLMM/runlmm.py
index 0b727383..e64ca0e6 100644
--- a/wqflask/wqflask/my_pylmm/pyLMM/runlmm.py
+++ b/wqflask/wqflask/my_pylmm/pyLMM/runlmm.py
@@ -102,6 +102,12 @@ def normalizeGenotype(G):
G = (G - m) / s # Normalize the deviation
return G
+gn = []
+for snp in g:
+ gn.append( normalizeGenotype(snp) )
+
+gn = g
+
print("Before",g)
gT = g.T