A question when using calculate_LD.R
Lymots opened this issue · 1 comments
Lymots commented
Hi,
Thank you for your scripts! Recently I ran calculate_LD and met an error "Error in parse_url(url) : length(url) == 1 is not TRUE". Can you help me with this problem? The code I ran was "r2 <- calculate_LD(snp1 = dat$SNP, snp2 = dat$SNP, build = "37", pop = "EUR")". I am new to MR , so please forgive my ignorance.
Thanks
linjf15 commented
Maybe you should provide related data and codes to reproduce the error.