{
  "_id": "6a101617acfb0bcc41c8447f",
  "Package": "gsmr2",
  "Maintainer": "Zhihong Zhu <z.zhu1@uq.edu.au>, Angli Xue\n<a.xue@garvan.org.au>, Jian Yang <jian.yang@westlake.edu.cn>",
  "Author": "Zhihong Zhu, Angli Xue, Zhili Zheng, Futao Zhang, Jian Yang",
  "License": "GPL (>= 2.0)",
  "URL": "https://yanglab.westlake.edu.cn/software/gsmr/",
  "Type": "Package",
  "Title": "gsmr2 - a tool for causal inference between complex traits",
  "Description": "GSMR2 (Generalised Summary-data-based Mendelian\nRandomisation v2) is an improved version of GSMR, which uses\nGWAS summary statistics to test for a putative causal\nassociation between two phenotypes (e.g., a modifiable risk\nfactor and a disease) based on a multi-SNP model. This version\nimplements a global heterogeneity test to remove invalid\ninstrumental variables and provides a causal estimation that is\nmore robust to directional pleiotropy.",
  "Version": "1.1.1",
  "Date": "2024-1-31",
  "LazyData": "no",
  "NeedsCompilation": "no",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.0.2",
  "Packaged": {
    "Date": "2026-05-22 08:35:55 UTC",
    "User": "root"
  },
  "Config/pak/sysreqs": "make",
  "Repository": "https://mrcieu.r-universe.dev",
  "Date/Publication": "2024-04-26 01:50:23 UTC",
  "RemoteUrl": "https://github.com/jianyanglab/gsmr2",
  "RemoteRef": "HEAD",
  "RemoteSha": "e7953cc136ad1cfae14674facde21e90caddea5f",
  "MD5sum": "3732639f552a11932a549eb3bf4997b2",
  "_user": "mrcieu",
  "_type": "src",
  "_file": "gsmr2_1.1.1.tar.gz",
  "_fileid": "fb160c1b4c25323141f44eedc1108c5170fd83259a78269612bc5b49c1054905",
  "_filesize": 1264884,
  "_sha256": "fb160c1b4c25323141f44eedc1108c5170fd83259a78269612bc5b49c1054905",
  "_created": "2026-05-22T08:35:55.000Z",
  "_published": "2026-05-22T08:38:47.907Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77345184723,
      "time": 138,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7156334768"
    },
    {
      "job": 77345184701,
      "time": 137,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7156334394"
    },
    {
      "job": 77345184757,
      "time": 102,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7156323903"
    },
    {
      "job": 77345184721,
      "time": 86,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7156318596"
    },
    {
      "job": 77344723657,
      "time": 183,
      "config": "source",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7156293613"
    },
    {
      "job": 77345184835,
      "time": 106,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7156325042"
    },
    {
      "job": 77345184717,
      "time": 95,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7156321654"
    },
    {
      "job": 77345184710,
      "time": 94,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7156321668"
    },
    {
      "job": 77345184693,
      "time": 96,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7156322209"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mrcieu/actions/runs/26277330582",
  "_status": "failure",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/jianyanglab/gsmr2",
  "_commit": {
    "id": "e7953cc136ad1cfae14674facde21e90caddea5f",
    "author": "Angli Xue <alexxuexue@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Update README.md",
    "time": 1714096223
  },
  "_maintainer": {
    "name": "Zhihong Zhu",
    "email": "jian.yang@westlake.edu.cn"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.15",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Depends"
    },
    {
      "package": "utils",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Depends"
    },
    {
      "package": "markdown",
      "role": "Depends"
    },
    {
      "package": "survey",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "jianyanglab",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 21,
  "_contributors": [
    {
      "user": "anglixue",
      "count": 13,
      "uuid": 8247682
    },
    {
      "user": "sandyhou-0715",
      "count": 1,
      "uuid": 53949090
    }
  ],
  "_userbio": {
    "uuid": 15654827,
    "type": "organization",
    "name": "MRC Integrative Epidemiology Unit"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/gsmr2"
  },
  "_devurl": "https://github.com/jianyanglab/gsmr2",
  "_searchresults": 5,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/contents.json",
    "extra/gsmr2.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "bi_gsmr",
    "gsmr",
    "std_effect"
  ],
  "_datasets": [
    {
      "name": "gsmr_data",
      "title": "",
      "object": "gsmr",
      "file": "gsmr.rdata",
      "class": [
        "data.frame"
      ],
      "fields": [
        "SNP",
        "a1",
        "a2",
        "a1_freq",
        "bzx",
        "bzx_se",
        "bzx_pval",
        "bzx_n",
        "bzy",
        "bzy_se",
        "bzy_pval",
        "bzy_n"
      ],
      "rows": 188,
      "table": true,
      "tojson": true
    },
    {
      "name": "ldrho",
      "title": "",
      "object": "gsmr",
      "file": "gsmr.rdata",
      "class": [
        "data.frame"
      ],
      "fields": [
        "rs10903129",
        "rs12748152",
        "rs11206508",
        "rs11206510",
        "rs10788994",
        "rs529787",
        "rs585131",
        "rs11583974",
        "rs1475701",
        "rs4927207",
        "rs2647281",
        "rs6662286",
        "rs207145",
        "rs12066643",
        "rs9970807",
        "rs11485618",
        "rs4970712",
        "rs676385",
        "rs648673",
        "rs17035630",
        "rs646776",
        "rs10410",
        "rs7515901",
        "rs1278286",
        "rs11581665",
        "rs17646665",
        "rs534135",
        "rs267733",
        "rs6694817",
        "rs2642438",
        "rs2247213",
        "rs2587534",
        "rs16986953",
        "rs13027175",
        "rs11679386",
        "rs492399",
        "rs10188503",
        "rs6547409",
        "rs6413458",
        "rs1367117",
        "rs568938",
        "rs12471982",
        "rs13396400",
        "rs2194562",
        "rs780093",
        "rs1025447",
        "rs6544713",
        "rs4953023",
        "rs2710642",
        "rs7568458",
        "rs10490626",
        "rs2030746",
        "rs16831243",
        "rs749873",
        "rs17678683",
        "rs10195252",
        "rs115654617",
        "rs1250229",
        "rs11563251",
        "rs9875338",
        "rs7640978",
        "rs17404153",
        "rs1199338",
        "rs6818397",
        "rs17087335",
        "rs4593108",
        "rs3796587",
        "rs12916",
        "rs7715739",
        "rs7727150",
        "rs4530754",
        "rs6882076",
        "rs9349379",
        "rs3757354",
        "rs13206249",
        "rs1800562",
        "rs389883",
        "rs7774197",
        "rs2621321",
        "rs10456468",
        "rs6909746",
        "rs12202017",
        "rs6917747",
        "rs3798180",
        "rs3798167",
        "rs1564348",
        "rs624249",
        "rs3125055",
        "rs3798221",
        "rs6455698",
        "rs2107595",
        "rs12670798",
        "rs4722551",
        "rs2073547",
        "rs11556924",
        "rs3918226",
        "rs9987289",
        "rs10102164",
        "rs13277801",
        "rs2737252",
        "rs2954029",
        "rs7832643",
        "rs3780181",
        "rs3731249",
        "rs2891168",
        "rs72652478",
        "rs1883025",
        "rs4489379",
        "rs579459",
        "rs2487928",
        "rs1870635",
        "rs1746050",
        "rs2246942",
        "rs11191416",
        "rs2419604",
        "rs360157",
        "rs10832962",
        "rs174583",
        "rs2019090",
        "rs964184",
        "rs11600380",
        "rs10893493",
        "rs10893499",
        "rs2681472",
        "rs3184504",
        "rs11065979",
        "rs7953150",
        "rs1169288",
        "rs4942486",
        "rs11617955",
        "rs4773141",
        "rs55940034",
        "rs8017377",
        "rs17293632",
        "rs1814880",
        "rs7173743",
        "rs247616",
        "rs118146573",
        "rs7197967",
        "rs17664900",
        "rs2000999",
        "rs9938506",
        "rs8044476",
        "rs314253",
        "rs6504872",
        "rs1801689",
        "rs2886232",
        "rs663129",
        "rs10403668",
        "rs1541596",
        "rs1529711",
        "rs36005514",
        "rs6511720",
        "rs688",
        "rs6511727",
        "rs376642",
        "rs10401969",
        "rs17800760",
        "rs10460181",
        "rs2965156",
        "rs1531517",
        "rs8103315",
        "rs10419669",
        "rs11668536",
        "rs4803760",
        "rs2972564",
        "rs8104483",
        "rs7254892",
        "rs2075650",
        "rs75687619",
        "rs7259004",
        "rs5158",
        "rs1048699",
        "rs8108762",
        "rs7255743",
        "rs732841",
        "rs492602",
        "rs364585",
        "rs2328223",
        "rs2745865",
        "rs7264396",
        "rs2902940",
        "rs6016381",
        "rs6129653",
        "rs6065311",
        "rs8131284",
        "rs5763662",
        "rs4253776"
      ],
      "rows": 188,
      "table": true,
      "tojson": true
    },
    {
      "name": "snp_coeff",
      "title": "",
      "object": "gsmr",
      "file": "gsmr.rdata",
      "class": [
        "data.frame"
      ],
      "fields": [
        "V1",
        "V2",
        "V3",
        "V4",
        "V5",
        "V6",
        "V7",
        "V8",
        "V9",
        "V10",
        "V11",
        "V12",
        "V13",
        "V14",
        "V15",
        "V16",
        "V17",
        "V18",
        "V19",
        "V20",
        "V21",
        "V22",
        "V23",
        "V24",
        "V25",
        "V26",
        "V27",
        "V28",
        "V29",
        "V30",
        "V31",
        "V32",
        "V33",
        "V34",
        "V35",
        "V36",
        "V37",
        "V38",
        "V39",
        "V40",
        "V41",
        "V42",
        "V43",
        "V44",
        "V45",
        "V46",
        "V47",
        "V48",
        "V49",
        "V50",
        "V51",
        "V52",
        "V53",
        "V54",
        "V55",
        "V56",
        "V57",
        "V58",
        "V59",
        "V60",
        "V61",
        "V62",
        "V63",
        "V64",
        "V65",
        "V66",
        "V67",
        "V68",
        "V69",
        "V70",
        "V71",
        "V72",
        "V73",
        "V74",
        "V75",
        "V76",
        "V77",
        "V78",
        "V79",
        "V80",
        "V81",
        "V82",
        "V83",
        "V84",
        "V85",
        "V86",
        "V87",
        "V88",
        "V89",
        "V90",
        "V92",
        "V93",
        "V94",
        "V95",
        "V96",
        "V97",
        "V98",
        "V99",
        "V100",
        "V101",
        "V102",
        "V103",
        "V104",
        "V105",
        "V106",
        "V107",
        "V108",
        "V109",
        "V110",
        "V111",
        "V112",
        "V113",
        "V114",
        "V115",
        "V116",
        "V117",
        "V118",
        "V119",
        "V120",
        "V121",
        "V122",
        "V123",
        "V124",
        "V125",
        "V126",
        "V127",
        "V128",
        "V129",
        "V130",
        "V131",
        "V132",
        "V133",
        "V134",
        "V135",
        "V136",
        "V137",
        "V138",
        "V139",
        "V140",
        "V141",
        "V142",
        "V143",
        "V144",
        "V145",
        "V146",
        "V147",
        "V148",
        "V149",
        "V150",
        "V151",
        "V152",
        "V153",
        "V154",
        "V155",
        "V156",
        "V157",
        "V158",
        "V159",
        "V160",
        "V161",
        "V162",
        "V163",
        "V164",
        "V165",
        "V166",
        "V167",
        "V168",
        "V169",
        "V170",
        "V171",
        "V172",
        "V173",
        "V174",
        "V175",
        "V176",
        "V177",
        "V178",
        "V179",
        "V180",
        "V181",
        "V182",
        "V183",
        "V184",
        "V185",
        "V186",
        "V187",
        "V188",
        "V189",
        "V190",
        "V191"
      ],
      "rows": 7703,
      "table": true,
      "tojson": true
    },
    {
      "name": "snp_coeff_id",
      "title": "",
      "object": "gsmr",
      "file": "gsmr.rdata",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "gsmr-package",
      "title": "gsmr: A tool for GSMR and HEIDI analysis",
      "topics": [
        "gsmr-package"
      ]
    },
    {
      "page": "bi_gsmr",
      "title": "Bi-directional GSMR analysis",
      "topics": [
        "bi_gsmr"
      ]
    },
    {
      "page": "gsmr",
      "title": "Generalized Summary-data-based Mendelian Randomization analysis",
      "topics": [
        "gsmr"
      ]
    },
    {
      "page": "std_effect",
      "title": "Standardization of effect size and its standard error",
      "topics": [
        "std_effect"
      ]
    }
  ],
  "_readme": "https://github.com/jianyanglab/gsmr2/raw/HEAD/README.md",
  "_rundeps": [
    "commonmark",
    "DBI",
    "lattice",
    "litedown",
    "markdown",
    "Matrix",
    "minqa",
    "mitools",
    "numDeriv",
    "Rcpp",
    "RcppArmadillo",
    "survey",
    "survival",
    "xfun"
  ],
  "_vignettes": [
    {
      "source": "GSMR-intro.Rmd",
      "filename": "GSMR-intro.html",
      "title": "An Introduction to gsmr",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Citation",
        "Source code",
        "Installation",
        "Update log",
        "Tutorial",
        "1. Prepare data for GSMR analysis",
        "1.1 Load the GWAS summary data",
        "1.2 Estimate the LD correlation matrix",
        "2. Standardization",
        "3. GSMR analysis",
        "4. Bi-directional GSMR analysis",
        "5. Visualization"
      ],
      "created": "2023-09-13 06:14:12",
      "modified": "2023-09-13 06:14:12",
      "commits": 1
    }
  ],
  "_score": 4.021189299069938,
  "_indexed": false,
  "_nocasepkg": "gsmr2",
  "_universes": [
    "mrcieu"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.1",
      "date": "2026-05-22T08:37:59.000Z",
      "distro": "noble",
      "commit": "e7953cc136ad1cfae14674facde21e90caddea5f",
      "fileid": "60ea921cea8fe076deabd003a7f99ade93168ced14b5c1cbe5d291554e43d018",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/26277330582"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.1",
      "date": "2026-05-22T08:38:00.000Z",
      "distro": "noble",
      "commit": "e7953cc136ad1cfae14674facde21e90caddea5f",
      "fileid": "b5025be870cc00e94e9c7a1b7148461d3d2e53c640e36c068d46274e495efcf4",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/26277330582"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.1",
      "date": "2026-05-22T08:37:31.000Z",
      "commit": "e7953cc136ad1cfae14674facde21e90caddea5f",
      "fileid": "0468f4dd12dd28c2c58ad3ab9cb76b57ac6fe35a1a41831e14b3294ff4387b58",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/26277330582"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.1",
      "date": "2026-05-22T08:37:18.000Z",
      "commit": "e7953cc136ad1cfae14674facde21e90caddea5f",
      "fileid": "3186b05d39ac0879ff0b6f108ed143e24c5a099092f2c83dd7b85098dfcced5a",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/26277330582"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.1",
      "date": "2026-05-22T08:37:58.000Z",
      "commit": "e7953cc136ad1cfae14674facde21e90caddea5f",
      "fileid": "81799b58db16bf6e5349d7b22f9b9b31835f5ba918a2eac4b5f6bf558bab3bb4",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/26277330582"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.1",
      "date": "2026-05-22T08:37:13.000Z",
      "commit": "e7953cc136ad1cfae14674facde21e90caddea5f",
      "fileid": "0f8527ce77bc4dd78bd3aa6c636f0b02242937144babaaebdc96792051148485",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/26277330582"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.1",
      "date": "2026-05-22T08:37:11.000Z",
      "commit": "e7953cc136ad1cfae14674facde21e90caddea5f",
      "fileid": "a9bc193c21e6d0681449362caee84209350e83f924942e5a25ca00f35b269082",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/26277330582"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.1",
      "date": "2026-05-22T08:37:14.000Z",
      "commit": "e7953cc136ad1cfae14674facde21e90caddea5f",
      "fileid": "8d7396dfd8978c11da2ed4ba7051612a091dd0d8da7b2c30a62da4149bd07821",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/26277330582"
    }
  ]
}