MRCIEU / ieugwasr

R interface to the IEU GWAS database API
https://mrcieu.github.io/ieugwasr/
Other
76 stars 23 forks source link

Bug??? Confusion about ld_clump vs ld_clump_local #42

Open Rick-Chen-PKU opened 1 year ago

Rick-Chen-PKU commented 1 year ago

There are following doubts about ld_clump and ld_clump_local functions, if I have a copy of exposed data with 10 snps. I want to clump by id grouping, with same parameter setting, ld_clump and ld_clump_local give two different results, may I know why?

  1. Sample data 17e2ffddfdd183500fb6f57c47d3b07

  2. Sample code c20c0730b544bb2c09d35902ed642f9

  3. Sample results 44f7948175ab67b2241a6f66c8db67e

I guess the id variable in the dat parameter of ld_clump_local seems to be disabled. Any relevant responses greatly appreciated!