Open dkssud24 opened 5 years ago
Hi @dkssud24 . Have you tried the new version?
Regarding question 1., struct-lmm might fail to run if your phenotype have extreme values (is that the case?). Gaussianizing the phenotype make those values become smaller.
Regarding question 2., we have updated the documentation. It is more clear now how to use the inputs. Please, have a look at https://github.com/limix/struct-lmm/blob/master/struct_lmm/_lmm.py
alldata.xlsx bedbimfam.zip cov_agesex.txt env_bmigroup.txt pheno_glucose.txt
hi @horta, I am a Master degree in Kyung Hee University in Korea. I am majoring in bio informatics. I was impressed with your paper and struct LMM program. I think the idea about Struct LMM is the best. So I tried to assign it to part of our data to your program, and then I want to make sure it worked properly.
outcome : chrom snp cm pos a0 a1 i pv_int pv 1 rs17106184 0.0 50909985 A G 0 0.116081 0.039977
`import os import pandas as pd import scipy as sp from limix_core.util.preprocess import gaussianize from struct_lmm import run_structlmm from struct_lmm.utils.sugar_utils import norm_env_matrix from pandas_plink import read_plink import geno_sugar as gs
if name == "main":
`