jean997 / cause

R package for CAUSE
https://jean997.github.io/cause/
52 stars 15 forks source link

LD pruning #27

Closed Rick-Chen-PKU closed 2 years ago

Rick-Chen-PKU commented 2 years ago

As shown in the figure below, about 6905720 variants are obtained through the gwas_merge function. Then I pruning with the parameter pval_thresh = 1e-5 and it turns out that there is an error in the api_query i.e. "The query to MR-Base exceeded 300 seconds and timed out. Please simplify the query". Is there any way to solve this problem? Can I randomly reduce my variants? Any solution to this problem is very apprecited. Thanks!

7f1059718e1b429edf6a35d7d335a61

jean997 commented 2 years ago

Yes - you can store the LD files locally which I think will help. Try looking here for how to do it https://mrcieu.github.io/ieugwasr/articles/local_ld.html