mrbayes

Bayesian implementation of IVW and MR-Egger models

https://github.com/okezie94/mrbayes

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.6%) to scientific vocabulary
Last synced: 7 months ago · JSON representation ·

Repository

Bayesian implementation of IVW and MR-Egger models

Basic Info
Statistics
  • Stars: 4
  • Watchers: 1
  • Forks: 1
  • Open Issues: 0
  • Releases: 7
Created over 6 years ago · Last pushed 7 months ago
Metadata Files
Readme Changelog License Citation

README.md

mrbayes

R-CMD-check Coverage status CRAN status RStudio_CRAN_mirror_downloads_badge r-universe <!-- badges: end -->

Bayesian implementation of IVW and MR-Egger models.

Installation instructions

Install the CRAN version with following code:

r install.packages("mrbayes")

Or install the development version from r-universe with

r install.packages("mrbayes", repos = c("https://mrcieu.r-universe.dev", "https://cloud.r-project.org"))

or from GitHub with:

``` r

install.packages("remotes") # uncomment if remotes not installed

remotes::install_github("okezie94/mrbayes") ```

Installing JAGS to use the JAGs functions

Using the functions which use JAGS require that the JAGS software is installed.

On macOS the easiest way to install JAGS is through Homebrew with

sh brew install pkg-config brew install jags

Alternatively, JAGS installation files for Windows and macOS are available from https://sourceforge.net/projects/mcmc-jags/files/JAGS/4.x/, and further info can be found on the JAGS website https://mcmc-jags.sourceforge.io/.

In R you can then install rjags from source

r install.packages("rjags", type = "source")

Package website

The helpfiles are shown on the package website at: https://okezie94.github.io/mrbayes/.

Authors

Okezie Uche-Ikonne, Frank Dondelinger, and Tom Palmer

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please use the information in the preferred-citation metadata."
authors:
- family-names: "Uche-Ikonne"
  given-names: "Okezie"
  orcid: "https://orcid.org/0000-0002-8461-8099"
- family-names: "Dondelinger"
  given-names: "Frank"
  orcid: "https://orcid.org/0000-0003-1816-6300"
- family-names: "Palmer"
  given-names: "Tom"
  orcid: "https://orcid.org/0000-0003-4655-4511"
title: "mrbayes: R package implementing Bayesian estimation of IVW and MR-Egger models."
type: software
version: 0.4.0
date-released: 2021-07-13
repository-code: "https://github.com/okezie94/mrbayes"
url: "https://okezie94.github.io/mrbayes/"
preferred-citation:
  authors:
    - family-names: "Uche-Ikonne"
      given-names: "Okezie"
      orcid: "https://orcid.org/0000-0002-8461-8099"
    - family-names: "Dondelinger"
      given-names: "Frank"
      orcid: "https://orcid.org/0000-0003-1816-6300"
    - family-names: "Palmer"
      given-names: "Tom"
      orcid: "https://orcid.org/0000-0003-4655-4511"
  title: "Software Application Profile: Bayesian estimation of inverse variance weighted and MR-Egger models for two-sample Mendelian randomization studies - mrbayes"
  type: article
  journal: "International Journal of Epidemiology"
  volume: 50
  issue: 1
  start: 43
  end: 49
  year: 2021
  url: https://doi.org/10.1093/ije/dyaa191
  doi: 10.1093/ije/dyaa191

GitHub Events

Total
  • Push event: 24
  • Create event: 1
Last Year
  • Push event: 24
  • Create event: 1

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 256
  • Total Committers: 2
  • Avg Commits per committer: 128.0
  • Development Distribution Score (DDS): 0.156
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Tom Palmer r****t@h****m 216
okezie94 4****4 40

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 1
  • Total pull requests: 25
  • Average time to close issues: about 1 month
  • Average time to close pull requests: 11 days
  • Total issue authors: 1
  • Total pull request authors: 3
  • Average comments per issue: 5.0
  • Average comments per pull request: 0.04
  • Merged pull requests: 21
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 3
  • Average time to close issues: N/A
  • Average time to close pull requests: about 1 hour
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 3
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • remlapmot (1)
Pull Request Authors
  • remlapmot (22)
  • okezie94 (3)
  • olivroy (2)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 319 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 7
  • Total maintainers: 1
cran.r-project.org: mrbayes

Bayesian Summary Data Models for Mendelian Randomization Studies

  • Versions: 7
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 319 Last month
Rankings
Forks count: 21.9%
Stargazers count: 24.2%
Dependent packages count: 29.8%
Average: 32.9%
Dependent repos count: 35.5%
Downloads: 53.3%
Maintainers (1)
Last synced: 7 months ago

Dependencies

DESCRIPTION cran
  • R >= 3.5.0 depends
  • Rcpp >= 0.12.0 imports
  • methods * imports
  • plyr * imports
  • rstan >= 2.18.1 imports
  • rstantools >= 2.0.0 imports
  • DescTools * suggests
  • MendelianRandomization * suggests
  • bayesmeta * suggests
  • bookdown * suggests
  • foreign * suggests
  • ggmcmc * suggests
  • ggplot2 * suggests
  • kableExtra * suggests
  • knitr * suggests
  • rjags >= 4 suggests
  • roxygen2 * suggests
  • testthat * suggests
  • tidyverse * suggests
  • utils * suggests
.github/workflows/R-CMD-check.yaml actions
  • actions/checkout v4 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite