The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
Fits multivariable bidirectional Mendelian randomization networks with Bayesian directed cyclic graphical models (reciprocal graphical models; Ni, Ji and Mueller (2018) <doi:10.1214/17-BA1087>), an earlier version of which is described in Sarkar and Ni (2025) <doi:10.1093/bioinformatics/btaf130>. The causal effects among the responses, which may form directed cycles, are estimated with spike-and-slab or threshold priors, and posterior probabilities of network motifs are provided. With a known instrument-response map the instrument effects obey the exclusion restrictions; with an unrestricted map they are selected by a spike-and-slab prior, which allows invalid instruments (horizontal pleiotropy). The input can be individual-level data, the second-moment matrices of one sample, or marginal instrument-response regressions, with optional measured covariates. The error covariance can be diagonal, inverse-Wishart, or a stochastic search structure learning prior (Wang (2015) <doi:10.1214/14-BA916>) whose inclusion indicators describe unmeasured confounding among the responses. Inference is by Markov chain Monte Carlo with exact Gibbs updates of the instrument effects and adaptive random-walk Metropolis updates of the causal effects (Roberts and Rosenthal (2009) <doi:10.1198/jcgs.2009.06134>); the fitting function reports diagnostics of weak instruments, weak identification and convergence.
| Version: | 0.1.3 |
| Imports: | Rcpp, stats, utils, igraph, GIGrvg |
| LinkingTo: | Rcpp, RcppArmadillo, GIGrvg |
| Suggests: | testthat (≥ 3.1.5) |
| Published: | 2026-11-07 |
| DOI: | 10.32614/CRAN.package.MR.RGM |
| Author: | Bitan Sarkar [aut, cre], Yang Ni [aut] |
| Maintainer: | Bitan Sarkar <bitansarkar010899 at gmail.com> |
| BugReports: | https://github.com/bitansa/MR.RGM/issues |
| License: | GPL (≥ 3) |
| URL: | https://github.com/bitansa/MR.RGM |
| NeedsCompilation: | yes |
| Citation: | MR.RGM citation info |
| Materials: | README, NEWS |
| CRAN checks: | MR.RGM results |
| Reference manual: | MR.RGM.html , MR.RGM.pdf |
| Package source: | MR.RGM_0.1.3.tar.gz |
| Windows binaries: | r-devel: MR.RGM_0.1.3.zip, r-release: MR.RGM_0.1.3.zip, r-oldrel: MR.RGM_0.1.3.zip |
| macOS binaries: | r-release (arm64): MR.RGM_0.1.3.tgz, r-oldrel (arm64): MR.RGM_0.1.3.tgz, r-release (x86_64): MR.RGM_0.1.3.tgz, r-oldrel (x86_64): MR.RGM_0.1.3.tgz |
| Old sources: | MR.RGM archive |
Please use the canonical form https://CRAN.R-project.org/package=MR.RGM to link to this page.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.