YuanmingZhang65 / FastBiCmrMLM

A fast GWAS software for binary traits in case-control dataset
3 stars 0 forks source link

Error in while (any(tau < 0)) { : missing value where TRUE/FALSE needed #2

Open syauwjl opened 2 weeks ago

syauwjl commented 2 weeks ago

老师您好。我运行示例的数据的时候没有问题,但运行自己的数据会报错: 我的Genotype 文件并不是从hapmap转过来的,而是重测序生成的vcf文件直接用plink转过来的,不知道是否会有影响?谢谢。 Extracting number of samples and rownames from Genotype.fam... Extracting number of variants and colnames from Genotype.bim... [1] "prepare-GRM time:" Time difference of 5.201898 mins [1] "Analysizing the trait: 1" Error in while (any(tau < 0)) { : missing value where TRUE/FALSE needed In addition: Warning message: glm.fit: fitted probabilities numerically 0 or 1 occurred

YuanmingZhang65 commented 2 weeks ago

软件里调用广义回归的函数计算初始值,你的数据在这里报错了。问一下,你样本量的大小和表型0-1的比例是多少?

若能将数据给我,也许更快找出问题

---Original--- From: @.> Date: Fri, Jun 21, 2024 19:04 PM To: @.>; Cc: @.***>; Subject: [YuanmingZhang65/FastBiCmrMLM] Error in while (any(tau < 0)) { :missing value where TRUE/FALSE needed (Issue #2)

老师您好。我运行示例的数据的时候没有问题,但运行自己的数据会报错: 我的Genotype 文件并不是从hapmap转过来的,而是重测序生成的vcf文件直接用plink转过来的,不知道是否会有影响?谢谢。 Extracting number of samples and rownames from Genotype.fam... Extracting number of variants and colnames from Genotype.bim... [1] "prepare-GRM time:" Time difference of 5.201898 mins [1] "Analysizing the trait: 1" Error in while (any(tau < 0)) { : missing value where TRUE/FALSE needed In addition: Warning message: glm.fit: fitted probabilities numerically 0 or 1 occurred

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

syauwjl commented 2 weeks ago

感谢老师的回复。样本量404,0-1比例为307-97。老师您能否提供邮箱,我把数据发到您的邮箱?

YuanmingZhang65 commented 2 weeks ago

@.***

---Original--- From: @.> Date: Fri, Jun 21, 2024 19:55 PM To: @.>; Cc: "Yuan-Ming @.**@.>; Subject: Re: [YuanmingZhang65/FastBiCmrMLM] Error in while (any(tau < 0)) { :missing value where TRUE/FALSE needed (Issue #2)

感谢老师的回复。样本量404,0-1比例为307-97。老师您能否提供邮箱,我把数据发到您的邮箱?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

syauwjl commented 2 weeks ago

章老师,github上的邮箱号被屏蔽了,我发送到了您文章的通讯作者的邮箱,再次感谢您。