zhengxwen / HIBAG

R package – HLA Genotype Imputation with Attribute Bagging (development version only)
https://hibag.s3.amazonaws.com/index.html
29 stars 7 forks source link

glm does not work #25

Closed JingjingBai2021 closed 1 year ago

JingjingBai2021 commented 1 year ago

Hi, the association analysis showed "glm does not work" . How to fix it ?

hlaAssocTest(hla_a, Outcome ~ h, data=HLA_A, prob.threshold=0.5,showOR=TRUE,model = "additive")

Logistic regression (additive model) with 983 individuals: Warning in hlaAssocTest.hlaAlleleClass(hla_a, Outcome ~ h, data = HLA_A, : glm does not work. [-] [h] %.[-] %.[h] chisq.st chisq.p fisher.p 01:01 1636 330 54.5 44.2 1.124e+01 <0.001 <0.001 02:06 1961 5 52.9 0.0 3.684e+00 0.055 0.023*