mr.raps is an R package for two-sample Mendelian randomization using the robust adjusted profile score. To install the package, run
library(devtools)
install_github("qingyuanzhao/mr.raps")
The main function is mr.raps. You can find examples by running
example(mr.raps)