R code to implement MVMR-Pony, a method for multivariable Mendelian randomization which accounts for conditionally weak instruments under a Bayesian framework.
The functions to implement the method are in mvmrpony.R.
In order to run the code, JAGS first needs to be installed.
The functions use the R2jags package.
install.packages("R2jags")
library(R2jags)