{
  "_id": "6a29525e732311cd875b017f",
  "Package": "mrpipeline",
  "Type": "Package",
  "Title": "Implements a Ready-for-Use Mendelian Randomisation Pipeline",
  "Version": "0.1.0",
  "Author": "Jamie Robinson",
  "Maintainer": "Jamie Robinson <jamie.robinson@biogen.com>",
  "Description": "This package implements a pipeline which in turns allows\nfor simple and generally \"hands-free\" Mendelian randomisation\nanalyses to be run. Data may be used from the OpenGWAS DB or\nlocally, using .vcf files. Analyses include MR, colocalisation\nand standard MR sensitivity analyses. Please see the\ndocumentation for more details.",
  "License": "What license is it under?",
  "Encoding": "UTF-8",
  "Remotes": [
    "github::MRCIEU/TwoSampleMR",
    "github::MRCIEU/ieugwasr",
    "github::MRCIEU/gwasglue",
    "github::MRCIEU/gwasvcf",
    "github::jrs95/gassocplot",
    "bioc::3.12/VariantAnnotation"
  ],
  "RoxygenNote": "7.1.2",
  "VignetteBuilder": "knitr",
  "Repository": "https://mrcieu.r-universe.dev",
  "Date/Publication": "2022-09-25 12:07:00 UTC",
  "RemoteUrl": "https://github.com/jwr-git/mrpipeline",
  "RemoteRef": "HEAD",
  "RemoteSha": "2c84a8deaa86703718743cddb57fc8815fc8202d",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-10 11:57:57 UTC",
    "User": "root"
  },
  "MD5sum": "77c22f46e9c56b842baeec07427b569a",
  "_user": "mrcieu",
  "_type": "src",
  "_file": "mrpipeline_0.1.0.tar.gz",
  "_fileid": "19be6879382f35d9b8d6ffbab524655437b0ce6183087ce286bab3e41c343715",
  "_filesize": 224624,
  "_sha256": "19be6879382f35d9b8d6ffbab524655437b0ce6183087ce286bab3e41c343715",
  "_created": "2026-06-10T11:57:57.000Z",
  "_published": "2026-06-10T12:02:38.392Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80552579593,
      "time": 189,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7535044632"
    },
    {
      "job": 80552579567,
      "time": 202,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7535049990"
    },
    {
      "job": 80552579601,
      "time": 156,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7535032935"
    },
    {
      "job": 80552579773,
      "time": 162,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7535034973"
    },
    {
      "job": 80551637340,
      "time": 316,
      "config": "source",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7534978560"
    },
    {
      "job": 80552579613,
      "time": 140,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 80552579592,
      "time": 126,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7535023047"
    },
    {
      "job": 80552579591,
      "time": 114,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7535018857"
    },
    {
      "job": 80552579595,
      "time": 144,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7535023996"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mrcieu/actions/runs/27274326213",
  "_status": "failure",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/jwr-git/mrpipeline",
  "_commit": {
    "id": "2c84a8deaa86703718743cddb57fc8815fc8202d",
    "author": "jwr-git <jwr-git@outlook.com>",
    "committer": "jwr-git <jwr-git@outlook.com>",
    "message": "Fixes pairwise analysis doing coloc\n",
    "time": 1664107620
  },
  "_maintainer": {
    "name": "Jamie Robinson",
    "email": "jamie.robinson@biogen.com"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6.0",
      "role": "Depends"
    },
    {
      "package": "TwoSampleMR",
      "role": "Imports"
    },
    {
      "package": "ieugwasr",
      "role": "Imports"
    },
    {
      "package": "gwasglue",
      "role": "Imports"
    },
    {
      "package": "gwasvcf",
      "role": "Imports"
    },
    {
      "package": "epigraphdb",
      "role": "Imports"
    },
    {
      "package": "coloc",
      "role": "Imports"
    },
    {
      "package": "tools",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "plyr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "gassocplot",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "VariantAnnotation",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "plotly",
      "role": "Suggests"
    },
    {
      "package": "biomaRt",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "jwr-git",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 6,
  "_contributors": [
    {
      "user": "jwr-git",
      "count": 3,
      "uuid": 64223802
    }
  ],
  "_userbio": {
    "uuid": 15654827,
    "type": "organization",
    "name": "MRC Integrative Epidemiology Unit"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mrpipeline"
  },
  "_devurl": "https://github.com/jwr-git/mrpipeline",
  "_searchresults": 39,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/mrpipeline.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "%>%",
    "annotate_efo",
    "annotate_ensg",
    "calc_f_stat",
    "check_snps",
    "cis_trans",
    "combine_results",
    "dat_to_gwasvcf",
    "do_coloc",
    "do_mr",
    "drug_target_evidence",
    "extract_matched_regions",
    "file_to_gwasvcf",
    "forest_plot",
    "harmonise",
    "mr_pipeline",
    "pairwise_analysis",
    "read_exposure",
    "read_outcome",
    "regional_plot",
    "volcano_plot",
    "z_comparison_plot",
    "z_plot"
  ],
  "_help": [
    {
      "page": "dot-calc_pve",
      "title": "Calculate PVE",
      "topics": [
        ".calc_pve"
      ]
    },
    {
      "page": "dot-cdat_from_mixed",
      "title": "Helper function to extract colocalisation regions for when one dataset comes from a local file and another from OpenGWAS.",
      "topics": [
        ".cdat_from_mixed"
      ]
    },
    {
      "page": "dot-chunk",
      "title": "Splits vector into chunks",
      "topics": [
        ".chunk"
      ]
    },
    {
      "page": "dot-coloc_sub",
      "title": "Sub-function for the colocalisation analyses",
      "topics": [
        ".coloc_sub"
      ]
    },
    {
      "page": "dot-coloc_susie_sub",
      "title": "Sub function to run SuSiE and coloc",
      "topics": [
        ".coloc_susie_sub"
      ]
    },
    {
      "page": "dot-dgidb_linkage",
      "title": "Link ENSG IDs with DGIdb",
      "topics": [
        ".dgidb_linkage"
      ]
    },
    {
      "page": "dot-ensg_to_name",
      "title": "Convert ENSG IDs -> gene names",
      "topics": [
        ".ensg_to_name"
      ]
    },
    {
      "page": "dot-gwasvcf_to_coloc_rsid",
      "title": "Prepare gwasvcf files for coloc. This method will extract SNPs from one file using one chrompos and then look up those SNPs in the other file - this is to ensure coloc can be conducted upon two datasets of different genomic builds without the need of liftover.",
      "topics": [
        ".gwasvcf_to_coloc_rsid"
      ]
    },
    {
      "page": "dot-gwasvcf_to_pwcoco",
      "title": "Prepare gwasvcf files for PWCoCo",
      "topics": [
        ".gwasvcf_to_pwcoco"
      ]
    },
    {
      "page": "dot-ieugwasr_to_pwcoco",
      "title": "Prepare ieugwasr data for PWCoCo",
      "topics": [
        ".ieugwasr_to_pwcoco"
      ]
    },
    {
      "page": "dot-ivw_delta",
      "title": "IVW weighted delta",
      "topics": [
        ".ivw_delta"
      ]
    },
    {
      "page": "dot-print_msg",
      "title": "Helper function for message printing.",
      "topics": [
        ".print_msg"
      ]
    },
    {
      "page": "dot-pwcoco_sub",
      "title": "Sub-function to run PWCoCo",
      "topics": [
        ".pwcoco_sub"
      ]
    },
    {
      "page": "dot-read_dataset",
      "title": "Read datasets",
      "topics": [
        ".read_dataset"
      ]
    },
    {
      "page": "dot-wr_taylor_approx",
      "title": "WR Taylor Approx of SE",
      "topics": [
        ".wr_taylor_approx"
      ]
    },
    {
      "page": "annotate_data",
      "title": "Annotates the data using given IDs",
      "topics": [
        "annotate_data"
      ]
    },
    {
      "page": "annotate_efo",
      "title": "Annotate diseases with EFO IDs",
      "topics": [
        "annotate_efo"
      ]
    },
    {
      "page": "annotate_ensg",
      "title": "Annotate ENSG IDs with gene names",
      "topics": [
        "annotate_ensg"
      ]
    },
    {
      "page": "calc_f_stat",
      "title": "Calculate F-statistic",
      "topics": [
        "calc_f_stat"
      ]
    },
    {
      "page": "check_snps",
      "title": "Check if SNPs are good for use in analyses and mark them as such.",
      "topics": [
        "check_snps"
      ]
    },
    {
      "page": "cis_trans",
      "title": "Annotate cis/trans SNPs",
      "topics": [
        "cis_trans"
      ]
    },
    {
      "page": "combine_results",
      "title": "Combine MR and coloc results into one data.frame",
      "topics": [
        "combine_results"
      ]
    },
    {
      "page": "dat_to_gwasvcf",
      "title": "Convert data.frame to gwasvcf format.",
      "topics": [
        "dat_to_gwasvcf"
      ]
    },
    {
      "page": "do_coloc",
      "title": "Run colocalisation analyses",
      "topics": [
        "do_coloc"
      ]
    },
    {
      "page": "do_mr",
      "title": "Run Mendelian randomisation analyses",
      "topics": [
        "do_mr"
      ]
    },
    {
      "page": "drug_target_evidence",
      "title": "Generate drug target evidence",
      "topics": [
        "drug_target_evidence"
      ]
    },
    {
      "page": "extract_matched_regions",
      "title": "Extract SNPs based on region for colocalisation analyses. Can be used before calling the `do_coloc` function or will be called as part of that function automatically.",
      "topics": [
        "extract_matched_regions"
      ]
    },
    {
      "page": "file_to_gwasvcf",
      "title": "Convert file(s) to gwasvcf format.",
      "topics": [
        "file_to_gwasvcf"
      ]
    },
    {
      "page": "forest_plot",
      "title": "Forest plot",
      "topics": [
        "forest_plot"
      ]
    },
    {
      "page": "get_col_name",
      "title": "Get column names from agnostic but formatted data.frame",
      "topics": [
        "get_col_name"
      ]
    },
    {
      "page": "harmonise",
      "title": "Harmonise exposure and outcomes.",
      "topics": [
        "harmonise"
      ]
    },
    {
      "page": "hello",
      "title": "Hello, World!",
      "topics": [
        "hello"
      ]
    },
    {
      "page": "is_ambiguous",
      "title": "Check if SNP frequencies are ambiguous",
      "topics": [
        "is_ambiguous"
      ]
    },
    {
      "page": "is_palindromic",
      "title": "Check if SNP is palindromic",
      "topics": [
        "is_palindromic"
      ]
    },
    {
      "page": "mr_pipeline",
      "title": "Entry point for the pipeline.",
      "topics": [
        "mr_pipeline"
      ]
    },
    {
      "page": "pairwise_analysis",
      "title": "Performs pairwise harmonisation and analyses - helpful when analysing many exposure-outcome pairs as performing the standard \"linear\" approach will be very slow.",
      "topics": [
        "pairwise_analysis"
      ]
    },
    {
      "page": "read_exposure",
      "title": "Read exposures",
      "topics": [
        "read_exposure"
      ]
    },
    {
      "page": "read_outcome",
      "title": "Read outcomes",
      "topics": [
        "read_outcome"
      ]
    },
    {
      "page": "regional_plot",
      "title": "Plots a regional plot of the area being tested for colocalisation",
      "topics": [
        "regional_plot"
      ]
    },
    {
      "page": "validate_config",
      "title": "Validates parameters in config file",
      "topics": [
        "validate_config"
      ]
    },
    {
      "page": "volcano_plot",
      "title": "Volcano plot",
      "topics": [
        "volcano_plot"
      ]
    },
    {
      "page": "z_comparison_plot",
      "title": "Z score comparison plot",
      "topics": [
        "z_comparison_plot"
      ]
    },
    {
      "page": "z_plot",
      "title": "Z plot",
      "topics": [
        "z_plot"
      ]
    }
  ],
  "_readme": "https://github.com/jwr-git/mrpipeline/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "AnnotationDbi",
    "askpass",
    "base64enc",
    "BH",
    "Biobase",
    "BiocBaseUtils",
    "BiocGenerics",
    "BiocIO",
    "BiocParallel",
    "Biostrings",
    "bit",
    "bit64",
    "bitops",
    "blob",
    "BSgenome",
    "bslib",
    "cachem",
    "cigarillo",
    "cli",
    "codetools",
    "coloc",
    "cowplot",
    "cpp11",
    "crayon",
    "crosstalk",
    "curl",
    "data.table",
    "DBI",
    "DelayedArray",
    "digest",
    "dplyr",
    "epigraphdb",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "foreach",
    "formatR",
    "fs",
    "futile.logger",
    "futile.options",
    "gassocplot",
    "generics",
    "genetics.binaRies",
    "GenomeInfoDb",
    "GenomicAlignments",
    "GenomicFeatures",
    "GenomicRanges",
    "ggplot2",
    "glmnet",
    "glue",
    "GPArotation",
    "gridExtra",
    "gtable",
    "gwasglue",
    "gwasglue2",
    "gwasvcf",
    "highr",
    "htmltools",
    "htmlwidgets",
    "httr",
    "ieugwasr",
    "IRanges",
    "irlba",
    "isoband",
    "iterators",
    "jquerylib",
    "jsonlite",
    "KEGGREST",
    "knitr",
    "labeling",
    "lambda.r",
    "later",
    "lattice",
    "lazyeval",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixGenerics",
    "matrixStats",
    "memoise",
    "mime",
    "mixsqp",
    "mnormt",
    "MRMix",
    "MRPRESSO",
    "nlme",
    "openssl",
    "otel",
    "pbapply",
    "pillar",
    "pkgconfig",
    "plotly",
    "plyr",
    "png",
    "promises",
    "psych",
    "purrr",
    "R6",
    "RadialMR",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "RCurl",
    "reshape",
    "restfulr",
    "Rhtslib",
    "rjson",
    "rlang",
    "rmarkdown",
    "Rsamtools",
    "RSQLite",
    "rtracklayer",
    "S4Arrays",
    "S4Vectors",
    "S7",
    "sass",
    "scales",
    "Seqinfo",
    "shape",
    "snow",
    "SparseArray",
    "stringi",
    "stringr",
    "SummarizedExperiment",
    "survival",
    "susieR",
    "sys",
    "tibble",
    "tidyr",
    "tidyselect",
    "tinytex",
    "TwoSampleMR",
    "UCSC.utils",
    "utf8",
    "VariantAnnotation",
    "vctrs",
    "viridis",
    "viridisLite",
    "withr",
    "xfun",
    "XML",
    "XVector",
    "yaml"
  ],
  "_score": 3.0681858617461617,
  "_indexed": false,
  "_nocasepkg": "mrpipeline",
  "_universes": [
    "mrcieu"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-10T12:01:27.000Z",
      "distro": "noble",
      "commit": "2c84a8deaa86703718743cddb57fc8815fc8202d",
      "fileid": "8c918e6b2761fa4ebeefc68f17547cedede1ac46eedec2c39b7274e846a61f32",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/27274326213"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-10T12:01:40.000Z",
      "distro": "noble",
      "commit": "2c84a8deaa86703718743cddb57fc8815fc8202d",
      "fileid": "c95343a23eb07e98a35e1816a88cafd03c22d1240aa70c9434238665ebcf2d25",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/27274326213"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-10T12:00:55.000Z",
      "commit": "2c84a8deaa86703718743cddb57fc8815fc8202d",
      "fileid": "e444a61ec5c1c5cc28b7545d7da7af7053aaeaca711ebf2fbfd05a2be8377a3a",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/27274326213"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-10T12:01:12.000Z",
      "commit": "2c84a8deaa86703718743cddb57fc8815fc8202d",
      "fileid": "f73faacb5fef7b43037e18e7054112989ec265773f97dbc12f24a7b09c6eede5",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/27274326213"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-10T12:00:27.000Z",
      "commit": "2c84a8deaa86703718743cddb57fc8815fc8202d",
      "fileid": "638c7906d3fccb26cdf03ce9260912dce641873316bf5cf9ea2d05485ef23250",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/27274326213"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-10T12:00:16.000Z",
      "commit": "2c84a8deaa86703718743cddb57fc8815fc8202d",
      "fileid": "ccd45f25474c02034dc2a912a540814d3fd3bb0eae603bcd6a02c85587b0b1a8",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/27274326213"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-10T12:00:29.000Z",
      "commit": "2c84a8deaa86703718743cddb57fc8815fc8202d",
      "fileid": "a72317d64f4c0e98dcacf8cad99c759a792b59be7583794e14530951a388aea2",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/27274326213"
    }
  ]
}