{
  "_id": "6a14a5e7acfb0bcc41d4a2c2",
  "Type": "Package",
  "Package": "mrbayes",
  "Title": "Bayesian Summary Data Models for Mendelian Randomization Studies",
  "Version": "0.5.2.9000",
  "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-05-25 18:11:50 UTC",
  "RemoteUrl": "https://github.com/okezie94/mrbayes",
  "RemoteRef": "HEAD",
  "RemoteSha": "42d0706090949bf292112ca8cdb23e7b7ba80cce",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-25 19:25:20 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>",
  "MD5sum": "31639b6d13d5d811560412cdaad66a6f",
  "_user": "mrcieu",
  "_type": "src",
  "_file": "mrbayes_0.5.2.9000.tar.gz",
  "_fileid": "0f0f014038fb25fd423939b722a03e5d7c641b905da28a9e013af61dfe4e1aa5",
  "_filesize": 197282,
  "_sha256": "0f0f014038fb25fd423939b722a03e5d7c641b905da28a9e013af61dfe4e1aa5",
  "_created": "2026-05-25T19:25:20.000Z",
  "_published": "2026-05-25T19:41:27.419Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77762120030,
      "time": 437,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7203941317"
    },
    {
      "job": 77762119996,
      "time": 453,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7203942639"
    },
    {
      "job": 77762120025,
      "time": 447,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7203943254"
    },
    {
      "job": 77762120020,
      "time": 427,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7203939442"
    },
    {
      "job": 77762120024,
      "time": 258,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7203907800"
    },
    {
      "job": 77762120016,
      "time": 727,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7203999300"
    },
    {
      "job": 77762120003,
      "time": 237,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7203904221"
    },
    {
      "job": 77762120034,
      "time": 623,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7203978914"
    },
    {
      "job": 77761399691,
      "time": 420,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7203861068"
    },
    {
      "job": 77762119970,
      "time": 180,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 77762120011,
      "time": 573,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7203968899"
    },
    {
      "job": 77762119988,
      "time": 583,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7203970542"
    },
    {
      "job": 77762119980,
      "time": 559,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7203965652"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mrcieu/actions/runs/26416294281",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/okezie94/mrbayes",
  "_commit": {
    "id": "42d0706090949bf292112ca8cdb23e7b7ba80cce",
    "author": "Tom Palmer <remlapmot@hotmail.com>",
    "committer": "Tom Palmer <remlapmot@hotmail.com>",
    "message": "Cache some additional steps\n",
    "time": 1779732710
  },
  "_maintainer": {
    "name": "Tom Palmer",
    "email": "remlapmot@hotmail.com",
    "login": "remlapmot",
    "orcid": "0000-0003-4655-4511",
    "description": "Averaging statistician ... ",
    "uuid": 3777473
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2.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
    }
  ],
  "_tags": [],
  "_stars": 4,
  "_contributors": [
    {
      "user": "remlapmot",
      "count": 441,
      "uuid": 3777473
    },
    {
      "user": "okezie94",
      "count": 57,
      "uuid": 42736755
    },
    {
      "user": "olivroy",
      "count": 1,
      "uuid": 52606734
    }
  ],
  "_userbio": {
    "uuid": 15654827,
    "type": "organization",
    "name": "MRC Integrative Epidemiology Unit"
  },
  "_downloads": {
    "count": 277,
    "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.0",
  "_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"
    }
  ],
  "_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",
    "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": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 5.7160033436347994,
  "_indexed": true,
  "_nocasepkg": "mrbayes",
  "_universes": [
    "mrcieu",
    "remlapmot",
    "okezie94"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.2.9000",
      "date": "2026-05-25T19:31:30.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "42d0706090949bf292112ca8cdb23e7b7ba80cce",
      "fileid": "6869bf053dcf7c6c6b2a5d732668bf6d9415ab223b0cd046ca816dffa757df11",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/26416294281"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.2.9000",
      "date": "2026-05-25T19:31:41.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "42d0706090949bf292112ca8cdb23e7b7ba80cce",
      "fileid": "e081da46f69e2c6e5fc0b570195e9d287955cd9c6dcdd573090c2e516d1c1ba6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/26416294281"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.5.2.9000",
      "date": "2026-05-25T19:31:33.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "42d0706090949bf292112ca8cdb23e7b7ba80cce",
      "fileid": "c4097f124dc7d266c7437e43933574b345c8640ca5f608cbdd582c3b4e876a30",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/26416294281"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.5.2.9000",
      "date": "2026-05-25T19:31:22.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "42d0706090949bf292112ca8cdb23e7b7ba80cce",
      "fileid": "d43a374844a4ddd6767b2f39a9927d0ee6e8e135a4fd0826a8921f993d0bdd0d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/26416294281"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.2.9000",
      "date": "2026-05-25T19:30:20.000Z",
      "arch": "aarch64",
      "commit": "42d0706090949bf292112ca8cdb23e7b7ba80cce",
      "fileid": "463a290ccc4957d53e62581b220b567fff422ca4cb972996de842c42f9e92b8b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/26416294281"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.2.9000",
      "date": "2026-05-25T19:32:16.000Z",
      "arch": "x86_64",
      "commit": "42d0706090949bf292112ca8cdb23e7b7ba80cce",
      "fileid": "70dd54961a83ef0aca2e73b0ee901642b82e7fb4dad00cbfaec62ed28ddcb2e4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/26416294281"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.5.2.9000",
      "date": "2026-05-25T19:30:21.000Z",
      "arch": "aarch64",
      "commit": "42d0706090949bf292112ca8cdb23e7b7ba80cce",
      "fileid": "4a62a984a8cbb407f75b415d43249f514c7473eea88b6076a889ed242160fa55",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/26416294281"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.5.2.9000",
      "date": "2026-05-25T19:32:05.000Z",
      "arch": "x86_64",
      "commit": "42d0706090949bf292112ca8cdb23e7b7ba80cce",
      "fileid": "d637be68eb921f2137a437e0c7b538f99262cfdcac83ba0b37d9e4136bb81d6f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/26416294281"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.2.9000",
      "date": "2026-05-25T19:30:35.000Z",
      "arch": "x86_64",
      "commit": "42d0706090949bf292112ca8cdb23e7b7ba80cce",
      "fileid": "c6ffc04a11cce423eaa6f0d9379ebda35db17a0cff482b77daad1686b5299f64",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/26416294281"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5.2.9000",
      "date": "2026-05-25T19:30:40.000Z",
      "arch": "x86_64",
      "commit": "42d0706090949bf292112ca8cdb23e7b7ba80cce",
      "fileid": "35c487768fa838aba37a6512457eca8be2cd36c3a153b2836974448e15a7c101",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/26416294281"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.5.2.9000",
      "date": "2026-05-25T19:30:24.000Z",
      "arch": "x86_64",
      "commit": "42d0706090949bf292112ca8cdb23e7b7ba80cce",
      "fileid": "28a7b423f4e24dd64ff521e206f5b79dc840f1df0c4897e07e14075aad224aca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/26416294281"
    }
  ]
}