diff options
author | Zachary Sloan | 2015-03-16 18:21:44 +0000 |
---|---|---|
committer | Zachary Sloan | 2015-03-17 18:02:55 +0000 |
commit | 4852779011acb075e97e22f25db4fa7373ec1c73 (patch) | |
tree | d0ffdf68a9aaedb486db7b9e64ba901c99880f80 /wqflask | |
parent | e0bd0ab02d26fd8520ddfb0f69baa746ddee91fe (diff) | |
download | genenetwork2-4852779011acb075e97e22f25db4fa7373ec1c73.tar.gz |
Moved setting of geno variable into non-human
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/my_pylmm/pyLMM/lmm.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/wqflask/wqflask/my_pylmm/pyLMM/lmm.py b/wqflask/wqflask/my_pylmm/pyLMM/lmm.py index 58d7593d..16073d2c 100644 --- a/wqflask/wqflask/my_pylmm/pyLMM/lmm.py +++ b/wqflask/wqflask/my_pylmm/pyLMM/lmm.py @@ -731,8 +731,7 @@ def gn2_redis(key,species,is_testing=False): print('kinship', np.array(params['kinship_matrix'])) print('pheno', np.array(params['pheno_vector'])) - geno = np.array(params['genotype_matrix']) - print('geno', geno.shape, geno) + # sys.exit(1) if species == "human" : @@ -743,6 +742,9 @@ def gn2_redis(key,species,is_testing=False): refit = params['refit'], tempdata = tempdata) else: + geno = np.array(params['genotype_matrix']) + print('geno', geno.shape, geno) + ps, ts = run_other(pheno_vector = np.array(params['pheno_vector']), genotype_matrix = geno, restricted_max_likelihood = params['restricted_max_likelihood'], |