RT Journal Article SR Electronic T1 Bayesian estimation of IVW and MR-Egger models for two-sample Mendelian randomization studies JF medRxiv FD Cold Spring Harbor Laboratory Press SP 19005868 DO 10.1101/19005868 A1 Uche-Ikonne, Okezie A1 Dondelinger, Frank A1 Palmer, Tom YR 2019 UL http://medrxiv.org/content/early/2019/09/21/19005868.abstract AB We present our package, mrbayes, for the open source software environment R. The package implements Bayesian estimation of IVW and MR-Egger models, including the radial MR-Egger model, for summary-level data Mendelian randomization analyses. We have implemented a choice of prior distributions for the model parameters, namely; weakly informative, non-informative, a joint prior for the MR-Egger model slope and intercept, and a pseudo-horseshoe prior, or the user can specify their own prior. We show how to use the package through an applied example investigating the causal effect of BMI on insulin resistance. In future work, we plan to provide functions for alternative MCMC estimation software such as Stan and OpenBugs.Availability The package is freely available, under the MIT license, on GitHub here https://github.com/okezie94/mrbayes.It can be installed in R using the following commands.There is a website of the package helpfiles at https://okezie94.github.io/mrbayes/.Competing Interest StatementThe authors have declared no competing interest.Funding StatementNo external funding was reportedAuthor DeclarationsAll relevant ethical guidelines have been followed and any necessary IRB and/or ethics committee approvals have been obtained.Not ApplicableAll necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived.Not ApplicableAny clinical trials involved have been registered with an ICMJE-approved registry such as ClinicalTrials.gov and the trial ID is included in the manuscript.Not ApplicableI have followed all appropriate research reporting guidelines and uploaded the relevant Equator, ICMJE or other checklist(s) as supplementary files, if applicable.YesPublicly available summary level data