Closed alhannae closed 3 months ago
The column $ld
are the LD scores, which are basically colSums(corr0^2)
.
Hi Florian,
thanks for the quick reply.
Just to be sure, when dealing with a small dataset, it is better to use the hapmap3+ dataset and the ld scores right in stead of calculating the ld scores on the small dataset? From what I understand, you need those ld estimates to calculate the adjusted beta's?
Thanks very much!
Hannae
Forget about the LD scores. What you need is the LD matrices. It is better to use the pre-computed ones if possible.
As for the set of variants to use, the tutorial describe when it's better to use HapMap3, HapMap3+, or another set of variant.
Any update on this?
Hi Florian,
I opened a new issue: https://github.com/privefl/bigsnpr/issues/486#issuecomment-2005759571 which is basically an update. This can be closed.
Thanks for following up!
Hannae
You should be able to close issues you've opened.
Hi Florian,
I am going through the LDpred2 tutorial (https://privefl.github.io/bigsnpr/articles/LDpred2.html).
I have a question about the part where the correlation matrix is created. You noted there that you provide pre-computed LD matrices that are usually much better. Do you refer to the 'ld' column from the hapmap3+ file? And if I understood correctly, this means that the following line of code does not need to be run:
Thanks in advance.
Hannae