Open msarguru opened 1 year ago
i found the same error, Error in mr.raps::mr.raps(data, diagnostics = FALSE, over.dispersion = parameters$over.dispersion, : unused arguments (diagnostics = FALSE, shrinkage = parameters$shrinkage). And my MR version is 0.5.9 i guess the mr_raps method need to update, and the old version raps function required some parameters however the new MR version has not supply.
I met the same error, and my TwoSampleMR version is 0.6.6. Any method of resoving this error?
I met the same error, too. Could you please give me any suggestions?
Hi, running TwoSampleMR version TwoSampleMR_0.5.6 52 exposure SNPs testing with outcome (all snps available) and harmonization goes well and returns results with mr(dat) However, calling the methods_list (including mr_raps) throws the following error command: mr(dat,method_list=c("mr_ivw","mr_raps"))
Error in mr.raps::mr.raps(data, diagnostics = FALSE, over.dispersion = parameters$over.dispersion, : unused arguments (diagnostics = FALSE, shrinkage = parameters$shrinkage)
Running mr_raps separately also leads to the same issue command: mr_raps(dat$beta.exposure,dat$beta.outcome,dat$se.exposure,dat$se.outcome)
Any suggestions. Thanks M