{
  "_id": "6a4e6c5321b18e15484fe392",
  "Type": "Package",
  "Package": "mrbayes",
  "Title": "Bayesian Summary Data Models for Mendelian Randomization Studies",
  "Version": "0.5.3",
  "Authors@R": "c(\nperson(\"Okezie\", \"Uche-Ikonne\", , \"okezieikonne@gmail.com\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-8461-8099\")),\nperson(\"Frank\", \"Dondelinger\", , \"f.dondelinger@lancaster.ac.uk\", role = \"aut\",\ncomment = c(ORCID = \"0000-0003-1816-6300\")),\nperson(\"Tom\", \"Palmer\", , \"remlapmot@hotmail.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0003-4655-4511\"))\n)",
  "Description": "Bayesian estimation of inverse variance weighted (IVW),\nBurgess et al. (2013) <doi:10.1002/gepi.21758>, and MR-Egger,\nBowden et al. (2015) <doi:10.1093/ije/dyv080>, summary data\nmodels for Mendelian randomization analyses.",
  "License": "GPL-3",
  "URL": "https://github.com/okezie94/mrbayes,\nhttps://okezie94.github.io/mrbayes/,\nhttps://mrcieu.r-universe.dev/mrbayes",
  "BugReports": "https://github.com/okezie94/mrbayes/issues",
  "Biarch": "true",
  "Config/roxygen2/markdown": "TRUE",
  "Config/roxygen2/version": "8.0.0",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "SystemRequirements": "GNU make",
  "Config/pak/sysreqs": "cmake make libuv1-dev libssl-dev libx11-dev\nzlib1g-dev",
  "Repository": "https://mrcieu.r-universe.dev",
  "Date/Publication": "2026-07-08 12:46:02 UTC",
  "RemoteUrl": "https://github.com/okezie94/mrbayes",
  "RemoteRef": "HEAD",
  "RemoteSha": "103897f30579eb83891bc3c1ac711f4a4e5ff2d9",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-08 15:07:05 UTC",
    "User": "root"
  },
  "Author": "Okezie Uche-Ikonne [aut] (ORCID:\n<https://orcid.org/0000-0002-8461-8099>),\nFrank Dondelinger [aut] (ORCID:\n<https://orcid.org/0000-0003-1816-6300>),\nTom Palmer [aut, cre] (ORCID: <https://orcid.org/0000-0003-4655-4511>)",
  "Maintainer": "Tom Palmer <remlapmot@hotmail.com>",
  "_user": "mrcieu",
  "_type": "src",
  "_file": "mrbayes_0.5.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/a60d348e3e693aecfe1be9bd80ccc69fda875ff13b915aad4fabc3c3a13a72e2",
  "_filesize": 200057,
  "_sha256": "a60d348e3e693aecfe1be9bd80ccc69fda875ff13b915aad4fabc3c3a13a72e2",
  "_expires": "2026-10-16T15:27:13.000Z",
  "_created": "2026-07-08T15:07:05.000Z",
  "_published": "2026-07-08T15:27:14.942Z",
  "_jobs": [
    {
      "job": 85906020397,
      "time": 485,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8173024679"
    },
    {
      "job": 85906020300,
      "time": 387,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8172972745"
    },
    {
      "job": 85906020376,
      "time": 441,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8173001648"
    },
    {
      "job": 85906020320,
      "time": 456,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8173008093"
    },
    {
      "job": 85906020267,
      "time": 384,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8172973607"
    },
    {
      "job": 85906020322,
      "time": 627,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8173116894"
    },
    {
      "job": 85906020303,
      "time": 384,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8172979714"
    },
    {
      "job": 85906020372,
      "time": 932,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8173251260"
    },
    {
      "job": 85904221715,
      "time": 432,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8172772288"
    },
    {
      "job": 85906020301,
      "time": 208,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 85906020210,
      "time": 613,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8173088782"
    },
    {
      "job": 85906020263,
      "time": 556,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8173059741"
    },
    {
      "job": 85906020215,
      "time": 580,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8173072791"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/mrcieu/actions/runs/28952905863",
  "_status": "success",
  "_upstream": "https://github.com/okezie94/mrbayes",
  "_commit": {
    "id": "103897f30579eb83891bc3c1ac711f4a4e5ff2d9",
    "author": "Tom Palmer <remlapmot@hotmail.com>",
    "committer": "Tom Palmer <remlapmot@hotmail.com>",
    "message": "build pkgdown site\n",
    "time": 1783514762
  },
  "_maintainer": {
    "name": "Tom Palmer",
    "email": "remlapmot@hotmail.com",
    "login": "remlapmot",
    "orcid": "0000-0003-4655-4511",
    "description": "Averaging statistician ... ",
    "uuid": 3777473
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.3.0",
      "role": "Depends"
    },
    {
      "package": "BH",
      "version": ">= 1.66.0",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.0",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "version": ">= 0.3.3.3.0",
      "role": "LinkingTo"
    },
    {
      "package": "RcppParallel",
      "version": ">= 5.0.1",
      "role": "LinkingTo"
    },
    {
      "package": "rstan",
      "version": ">= 2.18.1",
      "role": "LinkingTo"
    },
    {
      "package": "StanHeaders",
      "version": ">= 2.18.0",
      "role": "LinkingTo"
    },
    {
      "package": "DescTools",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.0",
      "role": "Imports"
    },
    {
      "package": "RcppParallel",
      "version": ">= 5.0.1",
      "role": "Imports"
    },
    {
      "package": "rstan",
      "version": ">= 2.18.1",
      "role": "Imports"
    },
    {
      "package": "rstantools",
      "version": ">= 2.4.0",
      "role": "Imports"
    },
    {
      "package": "MendelianRandomization",
      "role": "Suggests"
    },
    {
      "package": "rjags",
      "version": ">= 4-9",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "okezie94",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-28",
      "n": 1
    },
    {
      "week": "2025-33",
      "n": 1
    },
    {
      "week": "2025-35",
      "n": 3
    },
    {
      "week": "2025-36",
      "n": 2
    },
    {
      "week": "2025-37",
      "n": 2
    },
    {
      "week": "2025-48",
      "n": 1
    },
    {
      "week": "2025-49",
      "n": 1
    },
    {
      "week": "2026-12",
      "n": 7
    },
    {
      "week": "2026-18",
      "n": 7
    },
    {
      "week": "2026-19",
      "n": 8
    },
    {
      "week": "2026-20",
      "n": 6
    },
    {
      "week": "2026-21",
      "n": 3
    },
    {
      "week": "2026-22",
      "n": 8
    },
    {
      "week": "2026-26",
      "n": 3
    },
    {
      "week": "2026-28",
      "n": 17
    }
  ],
  "_tags": [
    {
      "name": "v0.5.3",
      "date": "2026-07-08"
    }
  ],
  "_stars": 5,
  "_contributors": [
    {
      "user": "remlapmot",
      "count": 461,
      "uuid": 3777473
    },
    {
      "user": "okezie94",
      "count": 57,
      "uuid": 42736755
    },
    {
      "user": "olivroy",
      "count": 1,
      "uuid": 52606734
    }
  ],
  "_userbio": {
    "uuid": 15654827,
    "type": "organization",
    "name": "MRC Integrative Epidemiology Unit",
    "followers": 251
  },
  "_downloads": {
    "count": 367,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mrbayes"
  },
  "_mentions": 48,
  "_devurl": "https://github.com/okezie94/mrbayes",
  "_pkgdown": "https://okezie94.github.io/mrbayes/",
  "_searchresults": 9,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/mrbayes.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/okezie94/mrbayes",
  "_realowner": "okezie94",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2019-09-04"
    },
    {
      "version": "0.2.0",
      "date": "2020-05-28"
    },
    {
      "version": "0.3.0",
      "date": "2021-04-01"
    },
    {
      "version": "0.4.0",
      "date": "2021-07-13"
    },
    {
      "version": "0.5.0",
      "date": "2021-09-21"
    },
    {
      "version": "0.5.1",
      "date": "2021-10-02"
    },
    {
      "version": "0.5.2",
      "date": "2024-08-19"
    },
    {
      "version": "0.5.3",
      "date": "2026-07-08"
    }
  ],
  "_exports": [
    "mr_egger_rjags",
    "mr_egger_stan",
    "mr_format",
    "mr_ivw_rjags",
    "mr_ivw_stan",
    "mr_radialegger_rjags",
    "mr_radialegger_stan",
    "mrinput_mr_format",
    "mvmr_egger_rjags",
    "mvmr_egger_stan",
    "mvmr_format",
    "mvmr_ivw_rjags",
    "mvmr_ivw_stan"
  ],
  "_datasets": [
    {
      "name": "bmi_insulin",
      "title": "Dataset from Richmond et al. 2017 investigating the association of BMI on insulin resistance",
      "object": "bmi_insulin",
      "class": [
        "data.frame",
        "mr_format"
      ],
      "fields": [
        "rsid",
        "beta.exposure",
        "beta.outcome",
        "se.exposure",
        "se.outcome"
      ],
      "rows": 14,
      "table": true,
      "tojson": true
    },
    {
      "name": "dodata",
      "title": "Dataset from Do et al., Nat Gen, 2013 containing summary level data on associations of genotypes with lipid traits and the risk of coronary heart diseases",
      "object": "dodata",
      "class": [
        "data.frame"
      ],
      "fields": [
        "rsid",
        "a1",
        "a2",
        "chr",
        "pos",
        "ldlcbeta",
        "hdlcbeta",
        "tgbeta",
        "chdbeta",
        "ldlcp2",
        "hdlcp2",
        "tgp2",
        "chdp2",
        "ldlcz",
        "ldlcse",
        "hdlcz",
        "hdlcse",
        "tgz",
        "tgse",
        "chdz",
        "chdse"
      ],
      "rows": 185,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "mrbayes-package",
      "title": "mrbayes: Bayesian implementation of the IVW and MR-Egger models for two-sample Mendelian randomization analyses",
      "topics": [
        "mrbayes-package",
        "mrbayes"
      ]
    },
    {
      "page": "bmi_insulin",
      "title": "Dataset from Richmond et al. 2017 investigating the association of BMI on insulin resistance",
      "topics": [
        "bmi_insulin"
      ]
    },
    {
      "page": "dodata",
      "title": "Dataset from Do et al., Nat Gen, 2013 containing summary level data on associations of genotypes with lipid traits and the risk of coronary heart diseases",
      "topics": [
        "dodata"
      ]
    },
    {
      "page": "mr_egger_rjags",
      "title": "Bayesian implementation of the MR-Egger multivariate model with choice of prior distributions fitted using JAGS.",
      "topics": [
        "mr_egger_rjags"
      ]
    },
    {
      "page": "mr_egger_stan",
      "title": "Bayesian inverse variance weighted model with a choice of prior distributions fitted using Stan",
      "topics": [
        "mr_egger_stan"
      ]
    },
    {
      "page": "mr_format",
      "title": "Organises the summary level data for use in the Bayesian MR functions",
      "topics": [
        "mr_format"
      ]
    },
    {
      "page": "mr_ivw_rjags",
      "title": "Bayesian inverse variance weighted model with a choice of prior distributions fitted using JAGS.",
      "topics": [
        "mr_ivw_rjags"
      ]
    },
    {
      "page": "mr_ivw_stan",
      "title": "Bayesian inverse variance weighted model with a choice of prior distributions fitted using RStan.",
      "topics": [
        "mr_ivw_stan"
      ]
    },
    {
      "page": "mr_radialegger_rjags",
      "title": "Bayesian radial MR-Egger model with a choice of prior distributions fitted using JAGS.",
      "topics": [
        "mr_radialegger_rjags"
      ]
    },
    {
      "page": "mr_radialegger_stan",
      "title": "Bayesian inverse variance weighted model with a choice of prior distributions fitted using RStan.",
      "topics": [
        "mr_radialegger_stan"
      ]
    },
    {
      "page": "mrinput_mr_format",
      "title": "Convert an object of class MRInput from the MendelianRandomization package to the mrbayes mr_format class",
      "topics": [
        "mrinput_mr_format"
      ]
    },
    {
      "page": "mvmr_egger_rjags",
      "title": "Bayesian implementation of the MVMR-Egger model with choice of prior distributions fitted using JAGS.",
      "topics": [
        "mvmr_egger_rjags"
      ]
    },
    {
      "page": "mvmr_egger_stan",
      "title": "Bayesian implementation of the MVMR-Egger model with choice of prior distributions fitted using RStan.",
      "topics": [
        "mvmr_egger_stan"
      ]
    },
    {
      "page": "mvmr_format",
      "title": "Organises the summary level data for use in the Bayesian MR functions",
      "topics": [
        "mvmr_format"
      ]
    },
    {
      "page": "mvmr_ivw_rjags",
      "title": "Bayesian multivariate inverse variance weighted model with a choice of prior distributions fitted using JAGS.",
      "topics": [
        "mvmr_ivw_rjags"
      ]
    },
    {
      "page": "mvmr_ivw_stan",
      "title": "Bayesian multivariate inverse variance weighted model with a choice of prior distributions fitted using RStan.",
      "topics": [
        "mvmr_ivw_stan"
      ]
    }
  ],
  "_readme": "https://github.com/okezie94/mrbayes/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "askpass",
    "backports",
    "BH",
    "bit",
    "bit64",
    "boot",
    "callr",
    "cellranger",
    "checkmate",
    "class",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "curl",
    "data.table",
    "desc",
    "DescTools",
    "distributional",
    "e1071",
    "Exact",
    "expm",
    "farver",
    "forcats",
    "fs",
    "generics",
    "ggplot2",
    "gld",
    "glue",
    "gridExtra",
    "gtable",
    "haven",
    "hms",
    "httr",
    "inline",
    "isoband",
    "jsonlite",
    "labeling",
    "lattice",
    "lifecycle",
    "lmom",
    "loo",
    "magrittr",
    "MASS",
    "Matrix",
    "matrixStats",
    "mime",
    "mvtnorm",
    "numDeriv",
    "openssl",
    "otel",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "posterior",
    "prettyunits",
    "processx",
    "progress",
    "proxy",
    "ps",
    "QuickJSR",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "RcppParallel",
    "readr",
    "readxl",
    "rematch",
    "rlang",
    "rootSolve",
    "rstan",
    "rstantools",
    "rstudioapi",
    "S7",
    "scales",
    "StanHeaders",
    "sys",
    "tensorA",
    "tibble",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "viridisLite",
    "vroom",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 5.8750612633917,
  "_indexed": true,
  "_nocasepkg": "mrbayes",
  "_universes": [
    "mrcieu",
    "remlapmot",
    "okezie94"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.3",
      "date": "2026-07-08T15:14:05.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "103897f30579eb83891bc3c1ac711f4a4e5ff2d9",
      "fileid": "https://r2.ropensci.org/aeba0f2a7d6a0fc495776c7872f942185dfa12ae2c0ca773e70ad9c4fc30ae76",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/28952905863"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.3",
      "date": "2026-07-08T15:13:02.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "103897f30579eb83891bc3c1ac711f4a4e5ff2d9",
      "fileid": "https://r2.ropensci.org/0512a7f3fde8381880080bf21ba68fadf3a9155556c2e8a0da5885b89b978bee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/28952905863"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.5.3",
      "date": "2026-07-08T15:13:42.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "103897f30579eb83891bc3c1ac711f4a4e5ff2d9",
      "fileid": "https://r2.ropensci.org/7e2d8cc37750965f5ab79b61cb2d437fecd63e2d841bfe161c5abbeb84ef14d6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/28952905863"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.5.3",
      "date": "2026-07-08T15:13:19.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "103897f30579eb83891bc3c1ac711f4a4e5ff2d9",
      "fileid": "https://r2.ropensci.org/a47a15d7b5d23f1341df26fb0eef54e34c2db390c4d4a67e02e1f0545c87e515",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/28952905863"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.3",
      "date": "2026-07-08T15:12:29.000Z",
      "arch": "aarch64",
      "commit": "103897f30579eb83891bc3c1ac711f4a4e5ff2d9",
      "fileid": "https://r2.ropensci.org/6aade9781d386900e58c096c7d37c795d67060f485959df5f3e62d42170a3d1a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/28952905863"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.3",
      "date": "2026-07-08T15:14:40.000Z",
      "arch": "x86_64",
      "commit": "103897f30579eb83891bc3c1ac711f4a4e5ff2d9",
      "fileid": "https://r2.ropensci.org/384791f082af9abd14b4ba125eea91d950ac6ab66e6609fe02a70a6aaa817244",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/28952905863"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.5.3",
      "date": "2026-07-08T15:12:45.000Z",
      "arch": "aarch64",
      "commit": "103897f30579eb83891bc3c1ac711f4a4e5ff2d9",
      "fileid": "https://r2.ropensci.org/372839b1a12d4dd43b12acca3823e7ecf2b4d8e7a8085a8ffe859216911a2fae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/28952905863"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.5.3",
      "date": "2026-07-08T15:14:40.000Z",
      "arch": "x86_64",
      "commit": "103897f30579eb83891bc3c1ac711f4a4e5ff2d9",
      "fileid": "https://r2.ropensci.org/7286743cad7cfe9404252235c64bb361feac01c065096fff392257a8aba18ed6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/28952905863"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.3",
      "date": "2026-07-08T15:12:14.000Z",
      "arch": "x86_64",
      "commit": "103897f30579eb83891bc3c1ac711f4a4e5ff2d9",
      "fileid": "https://r2.ropensci.org/1beedb10fc0d06735ffde3227e1fc6405647c1778ce9d88273a8c3a31bcbafa1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/28952905863"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5.3",
      "date": "2026-07-08T15:12:09.000Z",
      "arch": "x86_64",
      "commit": "103897f30579eb83891bc3c1ac711f4a4e5ff2d9",
      "fileid": "https://r2.ropensci.org/51f0b63d4f3ef81b4caab8e4e3aa315e9de85f38a79757a4f4fc6259b8d1d637",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/28952905863"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.5.3",
      "date": "2026-07-08T15:12:16.000Z",
      "arch": "x86_64",
      "commit": "103897f30579eb83891bc3c1ac711f4a4e5ff2d9",
      "fileid": "https://r2.ropensci.org/d3adebc903e8252fd8006490bddb03a0f48f68bba4bdeef7c3df5576359c6aee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/28952905863"
    }
  ]
}