{
  "_id": "6a4f723b21b18e1548501ee2",
  "Package": "cause",
  "Type": "Package",
  "Title": "CAUSE: Causal Analysis Using Summary Effect Estimates",
  "Version": "1.2.0.0335",
  "Author": "Jean Morrison",
  "Maintainer": "Jean Morrison <jvmorr@umich.edu>",
  "Description": "Identify causal patterns using pairs of GWAS summary\nstatistics.",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "URL": "http://github.com/jean997/cause",
  "BugReports": "http://github.com/jean997/cause/issues",
  "RoxygenNote": "7.1.1",
  "SystemRequirements": "GNU make",
  "Config/pak/sysreqs": "make libicu-dev libx11-dev",
  "Repository": "https://mrcieu.r-universe.dev",
  "Date/Publication": "2021-11-30 19:00:46 UTC",
  "RemoteUrl": "https://github.com/jean997/cause",
  "RemoteRef": "HEAD",
  "RemoteSha": "6257e6c66e6c1518c8750d1e4d2b4d6e42644fa5",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-09 10:00:18 UTC",
    "User": "root"
  },
  "_user": "mrcieu",
  "_type": "src",
  "_file": "cause_1.2.0.0335.tar.gz",
  "_fileid": "https://r2.ropensci.org/3acf97feaf61210f19d4fbb54f2b4e5aa3b95874d8166e7149cab444e556bf75",
  "_filesize": 187019,
  "_sha256": "3acf97feaf61210f19d4fbb54f2b4e5aa3b95874d8166e7149cab444e556bf75",
  "_expires": "2026-10-17T10:04:41.000Z",
  "_created": "2026-07-09T10:00:18.000Z",
  "_published": "2026-07-09T10:04:43.405Z",
  "_jobs": [
    {
      "job": 86091493910,
      "time": 169,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8195281184"
    },
    {
      "job": 86091493945,
      "time": 200,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8195291933"
    },
    {
      "job": 86091493954,
      "time": 165,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8195278980"
    },
    {
      "job": 86091493858,
      "time": 171,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8195280615"
    },
    {
      "job": 86091493962,
      "time": 134,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8195264062"
    },
    {
      "job": 86091494002,
      "time": 211,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8195298067"
    },
    {
      "job": 86091493864,
      "time": 97,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8195248437"
    },
    {
      "job": 86091493891,
      "time": 209,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8195296990"
    },
    {
      "job": 86090483821,
      "time": 309,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8195207391"
    },
    {
      "job": 86091493825,
      "time": 139,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 86091493916,
      "time": 121,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8195259289"
    },
    {
      "job": 86091493851,
      "time": 147,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8195270791"
    },
    {
      "job": 86091494586,
      "time": 134,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8195264863"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/mrcieu/actions/runs/29009834822",
  "_status": "success",
  "_upstream": "https://github.com/jean997/cause",
  "_commit": {
    "id": "6257e6c66e6c1518c8750d1e4d2b4d6e42644fa5",
    "author": "Jean Morrison <jeanm@uchicago.edu>",
    "committer": "Jean Morrison <jeanm@uchicago.edu>",
    "message": "saveRDS -> write_lines\n",
    "time": 1638298846
  },
  "_maintainer": {
    "name": "Jean Morrison",
    "email": "jvmorr@umich.edu",
    "login": "jean997",
    "twitter": "@jeanv_morrison",
    "description": "",
    "uuid": 11408688
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppParallel",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "RcppParallel",
      "role": "Imports"
    },
    {
      "package": "mixsqp",
      "version": ">= 0.3-43",
      "role": "Imports"
    },
    {
      "package": "numDeriv",
      "role": "Imports"
    },
    {
      "package": "ashr",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "gridExtra",
      "role": "Imports"
    },
    {
      "package": "loo",
      "version": ">= 2.3.0",
      "role": "Imports"
    },
    {
      "package": "matrixStats",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "intervals",
      "role": "Imports"
    },
    {
      "package": "readr",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "jean997",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 59,
  "_contributors": [
    {
      "user": "jean997",
      "count": 10,
      "uuid": 11408688
    },
    {
      "user": "crerecombinase",
      "count": 8,
      "uuid": 3493159
    }
  ],
  "_userbio": {
    "uuid": 15654827,
    "type": "organization",
    "name": "MRC Integrative Epidemiology Unit",
    "followers": 251
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/cause"
  },
  "_devurl": "https://github.com/jean997/cause",
  "_searchresults": 151,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/cause.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "cause",
    "cause_download_example_gwas_data",
    "cause_grid_adapt",
    "est_cause_params",
    "gwas_format",
    "gwas_merge",
    "in_sample_elpd_loo",
    "ld_prune",
    "loglik",
    "loglik_ij",
    "loglik_ij_Z0",
    "loglik_ij_Z1",
    "loglik_loo",
    "loglik_mat",
    "loglik_samps_Z0",
    "loglik_samps_Z1",
    "map_pi_rho",
    "map_pi_rho_nonnull_eqg",
    "map_pi_rho_nonnull_fixed",
    "map_pi_rho_nonnull_geq",
    "map_pi_rho_nonnull_qge",
    "new_cause_data",
    "new_cause_data_fit",
    "read_standard_format",
    "recompute_elpd_table",
    "samp_from_grid",
    "setup_cause_pipeline",
    "setup_gwas_pairs",
    "step_quantile",
    "variance_pair_candidates"
  ],
  "_help": [
    {
      "page": "adapt2_grid",
      "title": "Adaptive grid estimation of posteriors",
      "topics": [
        "adapt2_grid"
      ]
    },
    {
      "page": "cause",
      "title": "CAUSE",
      "topics": [
        "cause"
      ]
    },
    {
      "page": "cause_download_example_gwas_data",
      "title": "Download GWAS data to use in examples",
      "topics": [
        "cause_download_example_gwas_data"
      ]
    },
    {
      "page": "cause_grid_adapt",
      "title": "CAUSE posterior density estimation",
      "topics": [
        "cause_grid_adapt"
      ]
    },
    {
      "page": "est_cause_params",
      "title": "Estimate CAUSE Nuisance Parameters",
      "topics": [
        "est_cause_params"
      ]
    },
    {
      "page": "est_cause_params_future",
      "title": "Estimate CAUSE Nuisance Parameters",
      "topics": [
        "est_cause_params_future"
      ]
    },
    {
      "page": "eta_gamma_prior",
      "title": "Prior variance for gamma and eta",
      "topics": [
        "eta_gamma_prior"
      ]
    },
    {
      "page": "gwas_format",
      "title": "Convert GWAS summary statistics to a standard format",
      "topics": [
        "gwas_format"
      ]
    },
    {
      "page": "gwas_merge",
      "title": "Format data for CAUSE",
      "topics": [
        "gwas_merge"
      ]
    },
    {
      "page": "in_sample_elpd_loo",
      "title": "Estimate delta elpd for pairs of models",
      "topics": [
        "in_sample_elpd_loo"
      ]
    },
    {
      "page": "ld_prune",
      "title": "Prune variants for LD",
      "topics": [
        "ld_prune"
      ]
    },
    {
      "page": "loglik",
      "title": "Calculate likelihood - version 7",
      "topics": [
        "loglik"
      ]
    },
    {
      "page": "loglik_ij",
      "title": "Calculate likelihood of (beta_hat_1[j], beta_hat_2[j])) given rho, b, sigma_1j, sigma_2j, s_1j, s_2j where alpha_kj ~ N(0, sigma_kj)",
      "topics": [
        "loglik_ij"
      ]
    },
    {
      "page": "loglik_loo",
      "title": "Calculate likelihood matrix for LOO (SNPs by posterior samples)",
      "topics": [
        "loglik_loo"
      ]
    },
    {
      "page": "loglik_mat",
      "title": "Calculate likelihood matrix - version 7",
      "topics": [
        "loglik_mat"
      ]
    },
    {
      "page": "loglik_samps_Z0",
      "title": "Calculate likelihood matrix for LOO (SNPs by posterior samples)",
      "topics": [
        "loglik_samps_Z0"
      ]
    },
    {
      "page": "loglik_samps_Z1",
      "title": "Calculate likelihood matrix for LOO (SNPs by posterior samples)",
      "topics": [
        "loglik_samps_Z1"
      ]
    },
    {
      "page": "map_pi_rho",
      "title": "Estimate pi and mixture proportions under null model",
      "topics": [
        "map_pi_rho"
      ]
    },
    {
      "page": "map_pi_rho_nonnull",
      "title": "Estimate pi and mixture proportions under a specified model",
      "topics": [
        "map_pi_rho_nonnull"
      ]
    },
    {
      "page": "map_pi_rho_nonnull_eqg",
      "title": "Estimate pi and mixture proportions under a specified model",
      "topics": [
        "map_pi_rho_nonnull_eqg"
      ]
    },
    {
      "page": "map_pi_rho_nonnull_fixed",
      "title": "Estimate pi and mixture proportions under a specified model",
      "topics": [
        "map_pi_rho_nonnull_fixed"
      ]
    },
    {
      "page": "map_pi_rho_nonnull_geq",
      "title": "Estimate pi and mixture proportions under a specified model",
      "topics": [
        "map_pi_rho_nonnull_geq"
      ]
    },
    {
      "page": "map_pi_rho_nonnull_qge",
      "title": "Estimate pi and mixture proportions under a specified model",
      "topics": [
        "map_pi_rho_nonnull_qge"
      ]
    },
    {
      "page": "new_cause_data",
      "title": "Create a new cause_data object",
      "topics": [
        "new_cause_data"
      ]
    },
    {
      "page": "new_cause_data_fit",
      "title": "Create a new cause_data_fit object",
      "topics": [
        "new_cause_data_fit"
      ]
    },
    {
      "page": "plot.cause",
      "title": "Plot CAUSE",
      "topics": [
        "plot.cause"
      ]
    },
    {
      "page": "plot.cause_post",
      "title": "Plot posteriors for one CAUSE fit",
      "topics": [
        "plot.cause_post"
      ]
    },
    {
      "page": "print.cause_summary",
      "title": "Print CAUSE Summary",
      "topics": [
        "print.cause_summary"
      ]
    },
    {
      "page": "print.summary_cause_post",
      "title": "Print CAUSE fit Summary",
      "topics": [
        "print.summary_cause_post"
      ]
    },
    {
      "page": "recompute_elpd_table",
      "title": "Recompute elpd table for a CAUSE fit that is already computed",
      "topics": [
        "recompute_elpd_table"
      ]
    },
    {
      "page": "samp_from_grid",
      "title": "Sample from grid approximation of posterior distribuitions",
      "topics": [
        "samp_from_grid"
      ]
    },
    {
      "page": "setup_cause_pipeline",
      "title": "Set up analysis directory for pairs of GWAS summary statistics",
      "topics": [
        "setup_cause_pipeline"
      ]
    },
    {
      "page": "setup_gwas_pairs",
      "title": "Set up analysis directory for pairs of GWAS summary statistics",
      "topics": [
        "setup_gwas_pairs"
      ]
    },
    {
      "page": "step_quantile",
      "title": "Quantile of a step pdf",
      "topics": [
        "step_quantile"
      ]
    },
    {
      "page": "summary.cause",
      "title": "Summarize CAUSE Results",
      "topics": [
        "summary.cause"
      ]
    },
    {
      "page": "summary.cause_post",
      "title": "Summarize CAUSE Results for a single fit",
      "topics": [
        "summary.cause_post"
      ]
    },
    {
      "page": "Z_post",
      "title": "Posterior probability of acting through U",
      "topics": [
        "Z_post"
      ]
    }
  ],
  "_readme": "https://github.com/jean997/cause/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "ashr",
    "backports",
    "bit",
    "bit64",
    "checkmate",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "distributional",
    "dplyr",
    "etrunct",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "hms",
    "intervals",
    "invgamma",
    "irlba",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "loo",
    "magrittr",
    "Matrix",
    "matrixStats",
    "mixsqp",
    "numDeriv",
    "pillar",
    "pkgconfig",
    "posterior",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppParallel",
    "readr",
    "rlang",
    "S7",
    "scales",
    "SQUAREM",
    "stringi",
    "stringr",
    "tensorA",
    "tibble",
    "tidyr",
    "tidyselect",
    "truncnorm",
    "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": 4.648798963271332,
  "_indexed": false,
  "_nocasepkg": "cause",
  "_universes": [
    "mrcieu"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.0.0335",
      "date": "2026-07-09T10:03:02.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "6257e6c66e6c1518c8750d1e4d2b4d6e42644fa5",
      "fileid": "https://r2.ropensci.org/ade3f603b00f5d979fb580bbc2ec3d05f8eb234f573c6e3e866a75a96cb2d169",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/29009834822"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.0.0335",
      "date": "2026-07-09T10:03:13.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "6257e6c66e6c1518c8750d1e4d2b4d6e42644fa5",
      "fileid": "https://r2.ropensci.org/a429b1ea5a3dcaf5e5604eb2dd09341f07fd98f14839ba9eaca01237ab0e148b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/29009834822"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2.0.0335",
      "date": "2026-07-09T10:03:02.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "6257e6c66e6c1518c8750d1e4d2b4d6e42644fa5",
      "fileid": "https://r2.ropensci.org/7ca9810a69aa5c19d3119feee34df935aa752f025a704529c1d70d1e0e759de8",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/29009834822"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2.0.0335",
      "date": "2026-07-09T10:02:52.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "6257e6c66e6c1518c8750d1e4d2b4d6e42644fa5",
      "fileid": "https://r2.ropensci.org/c6d6cab09fa2eb5c4d79d8e3421100581d8f4e9933f024f0b7e68c71a9d27d33",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/29009834822"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.0.0335",
      "date": "2026-07-09T10:02:20.000Z",
      "arch": "aarch64",
      "commit": "6257e6c66e6c1518c8750d1e4d2b4d6e42644fa5",
      "fileid": "https://r2.ropensci.org/c41a9e6e7927861db56fd52cbb569fbea2b600d364ca95b1270bfa4b87fb51de",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/29009834822"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.0.0335",
      "date": "2026-07-09T10:03:06.000Z",
      "arch": "x86_64",
      "commit": "6257e6c66e6c1518c8750d1e4d2b4d6e42644fa5",
      "fileid": "https://r2.ropensci.org/f498ee886d419be0cd166e3b1add72762a81c8032d759616fc0615c3509a294b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/29009834822"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.2.0.0335",
      "date": "2026-07-09T10:01:52.000Z",
      "arch": "aarch64",
      "commit": "6257e6c66e6c1518c8750d1e4d2b4d6e42644fa5",
      "fileid": "https://r2.ropensci.org/1b59375f25386be291f7d7540b5ee93ff532092012b5e3388446cce0aa57fbc0",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/29009834822"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.2.0.0335",
      "date": "2026-07-09T10:03:10.000Z",
      "arch": "x86_64",
      "commit": "6257e6c66e6c1518c8750d1e4d2b4d6e42644fa5",
      "fileid": "https://r2.ropensci.org/e943ae0cb8763b78b36f46e99d5bab2d6a25dabf282dcff5cc325b13b456e59e",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/29009834822"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.0.0335",
      "date": "2026-07-09T10:01:43.000Z",
      "arch": "x86_64",
      "commit": "6257e6c66e6c1518c8750d1e4d2b4d6e42644fa5",
      "fileid": "https://r2.ropensci.org/10b38d2421dfd042ec3e975aa31779ced224521e4727d7880aa816dd76dcbfd8",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/29009834822"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.0.0335",
      "date": "2026-07-09T10:02:01.000Z",
      "arch": "x86_64",
      "commit": "6257e6c66e6c1518c8750d1e4d2b4d6e42644fa5",
      "fileid": "https://r2.ropensci.org/c11f7ebc17a880e270c9d0f22f147804f759256d49a18537159cb3ade4369bdf",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/29009834822"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.2.0.0335",
      "date": "2026-07-09T10:01:43.000Z",
      "arch": "x86_64",
      "commit": "6257e6c66e6c1518c8750d1e4d2b4d6e42644fa5",
      "fileid": "https://r2.ropensci.org/24aacb782ba306bdea89b5fb2fa9c1403269c180df7d3f596a55552c5db208b5",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/29009834822"
    }
  ]
}