Rstudio运行TwosampleMR报错The query to MR-Base exceeded 300 seconds and timed out. Please simplify the query,如何解决呢?

有没有知道在做孟德尔随机化用TwoSampleMR的时候报错:The query to MR-Base exceeded 300 seconds and timed out. Please simplify the query 该怎么解决呀?

可能数据量太大,不要用MR-base的服务器做,fread读完数据再做

你好,请问你解决了 吗,我也遇到这个问题,在clump的时候

我也遇到了请问楼主解决了嘛

使用twosample mr进行clump时为什么没有服务啊?

neuro <- system.file('select_snp.csv',package = 'TwoSampleMR')
neuro_exp_dat<- read_exposure_data(
  filename=neuro,
  clump=T,
  sep = ",",
  snp_col = "SNP",
  beta_col = "beta",
  se_col = "se",
  eaf_col = "EAF_UKB",
  effect_allele_col = "A1",
  other_allele_col = "A2",
  pval_col = "P"
  )

报错:

No phenotype name specified, defaulting to 'exposure'.
API: public: http://gwas-api.mrcieu.ac.uk/
Please look at vignettes for options on running this locally if you need to run many instances of this command.
Clumping zEFqI0, 7759 variants, using EUR population reference
Server code: 503; Server is possibly experiencing traffic, trying again...
Server code: 503; Server is possibly experiencing traffic, trying again...
Server code: 503; Server is possibly experiencing traffic, trying again...
Server code: 503; Server is possibly experiencing traffic, trying again...
Server code: 503; Server is possibly experiencing traffic, trying again...
Server code: 503; Server is possibly experiencing traffic, trying again...
Server error: 503
Failed to retrieve results from server. See error status message in the returned object and contact the developers if the problem persists.
No encoding supplied: defaulting to UTF-8.
Error in mtfrm.default(list(url = "http://gwas-api.mrcieu.ac.uk/ld/clump",  : 
  cannot mtfrm