diff options
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/my_pylmm/pyLMM/runlmm.py | 6 |
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 |