Closed JNajar closed 8 months ago
Have you searched for similar issues? I think that has been reported a few times here already.
Please make sure to post your issues in the bigsnpr repo.
Pretty new to Github, sorry :) I am not sure how?
I have also used your script for LDPred2 several times, I also got the same error now .
Yes, the change appeared in v1.9.5 (cf. https://privefl.github.io/bigsnpr/news/):
snp_cor() and bed_cor() now return NaNs when e.g. the standard deviation is 0 (and warn about it). Before, these values were not reported (i.e. treated as 0).
So, yes, it "worked" before, but for wrong reasons. Please make sure to do some proper QC on very small MAF and this warning will disappear.
Any update on this?
Any update on this?
Sorry for the late responses, yes, it's working after SNP filtering..
Hi!
I have used your script for LDPred2 several times with good results. However, now that i want to create a PRS for diabetes type 2, for some reason i get this warning during the LD calculations: "Warning message: NA or NaN values in the resulting correlation matrix." I have already removed NAs in a previous step:
Do you know what might be the problem? Or how I can troubleshoot?
All the best, Jenna