MRCIEU / ieugwasr

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

Error in if (out == "[]") { : argument is of length zero #76

Open morculture opened 1 month ago

morculture commented 1 month ago

options(ieugwasr_api = 'gwas-api.mrcieu.ac.uk/') exp_data <- extract_instruments(outcomes = dat$GWAS ID[i],

  • p1=pvalue,
  • clump = FALSE) Error in if (out == "[]") { : argument is of length zero traceback() 2: ieugwasr::tophits(outcomes, pval = p1, clump = clump, r2 = r2, kb = kb, force_server = FALSE, opengwas_jwt = opengwas_jwt) 1: extract_instruments(outcomes = dat$GWAS ID[i], p1 = pvalue, clump = FALSE)