We extend the MR-RAPS method in our previous paper using the empirical partially Bayes framework described by Lindsay, allowing a true genome-wide design for Mendelian randomization.