MRCIEU / TwoSampleMR

R package for performing 2-sample MR using MR-Base database
https://mrcieu.github.io/TwoSampleMR
Other
431 stars 176 forks source link

clump_data error API error? [Error in mtfrm.default(list(url = "http://gwas-api.mrcieu.ac.uk/ld/clump", : cannot mtfrm] #555

Open sj2614 opened 2 months ago

sj2614 commented 2 months ago

Hi, I keep encountering errors when conducting clumping. Both TwoSampleMR and ieugwasr packages have been updated. Any insight is appreciated!!

ieugwasr::api_status() options(ieugwasr_api = 'gwas-api.mrcieu.ac.uk/')

sleep_exposure <- format_data(short_long_sleep_ukb_final, type = "exposure") sleep_exposure<-clump_data(sleep_exposure) Please look at vignettes for options on running this locally if you need to run many instances of this command. Clumping C0YOTH, 2835 variants, using EUR population reference Removing 2829 of 2835 variants due to LD with other variants or absence from LD reference panel Clumping IR1VnE, 1105 variants, using EUR population reference Removing 1080 of 1105 variants due to LD with other variants or absence from LD reference panel Clumping 6yiZWv, 3661 variants, using EUR population reference No encoding supplied: defaulting to UTF-8. Error in mtfrm.default(list(url = "http://gwas-api.mrcieu.ac.uk/ld/clump", : cannot mtfrm

remlapmot commented 2 months ago

I have deleted previous comment. Please explain URLs to random files.