deruncie / GridLMM

GridLMM package
MIT License
40 stars 10 forks source link

missing genotype data #6

Open SatoshiO49 opened 4 years ago

SatoshiO49 commented 4 years ago

Hi developers! Your GridLMM package greatly helped my study. I appreciate. However, I got the following error when I executed "GridLMM_GWAS" using my genotype including missing.

if (all(range(X) == c(-1, 1))) { : missing value where TRUE/FALSE needed

It seemed to happen in the "scale_SNPs" function because na.rm parameter of range() function is TRUE in spite of fillNAX = TRUE. Would you modify the error?

ConnieXuhm commented 3 years ago

Have you solved the problem? I met the same error, too ! Hope for your reply.

deruncie commented 3 years ago

Try it now. It should work