{
  "_id": "6a37a34e3efcd9bda4420f0d",
  "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-06-21 08:36:35 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": "79d823221c22e3e0b10830febb4f91c2",
  "_user": "mrcieu",
  "_type": "src",
  "_file": "gsmr2_1.1.1.tar.gz",
  "_fileid": "db9775c98af474f99f4d63e20beae8285b958b6c82a22803ba4a3f31425b5a94",
  "_filesize": 1267513,
  "_sha256": "db9775c98af474f99f4d63e20beae8285b958b6c82a22803ba4a3f31425b5a94",
  "_created": "2026-06-21T08:36:35.000Z",
  "_published": "2026-06-21T08:39:42.221Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 82555378599,
      "time": 147,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7773538739"
    },
    {
      "job": 82555378601,
      "time": 143,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7773538086"
    },
    {
      "job": 82555378598,
      "time": 82,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7773530245"
    },
    {
      "job": 82555378597,
      "time": 94,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7773531921"
    },
    {
      "job": 82555192310,
      "time": 170,
      "config": "source",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7773519347"
    },
    {
      "job": 82555378595,
      "time": 109,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7773533957"
    },
    {
      "job": 82555378603,
      "time": 117,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7773534888"
    },
    {
      "job": 82555378606,
      "time": 90,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7773531471"
    },
    {
      "job": 82555378605,
      "time": 95,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7773532022"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mrcieu/actions/runs/27898794157",
  "_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",
    "followers": 250
  },
  "_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-06-21T08:38:51.000Z",
      "distro": "noble",
      "commit": "e7953cc136ad1cfae14674facde21e90caddea5f",
      "fileid": "b8952f698df4cc573063a03ea20fa613505fb30d3bd0d2a23057899f87fa0479",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/27898794157"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.1",
      "date": "2026-06-21T08:38:48.000Z",
      "distro": "noble",
      "commit": "e7953cc136ad1cfae14674facde21e90caddea5f",
      "fileid": "5b22e6287cbec8a422315eb8f43de2722399c91449162d5057bf04d3c81c4feb",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/27898794157"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.1",
      "date": "2026-06-21T08:38:02.000Z",
      "commit": "e7953cc136ad1cfae14674facde21e90caddea5f",
      "fileid": "6be78324e31dde949bed3627f724f67244829f895eb49fb1826edeec245414db",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/27898794157"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.1",
      "date": "2026-06-21T08:38:09.000Z",
      "commit": "e7953cc136ad1cfae14674facde21e90caddea5f",
      "fileid": "972cb78f8504e4da970af09d6922f6cbd984a664b8e33d932d65e4b1b8edef53",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/27898794157"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.1",
      "date": "2026-06-21T08:38:46.000Z",
      "commit": "e7953cc136ad1cfae14674facde21e90caddea5f",
      "fileid": "a8436410533c8f00d30a58981126b9a2705dd70b889818c1500520eff9a78a7c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/27898794157"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.1",
      "date": "2026-06-21T08:38:10.000Z",
      "commit": "e7953cc136ad1cfae14674facde21e90caddea5f",
      "fileid": "ba30385f825f31649bb5cea3cc18cfe9307d21fb2edf18cd277d9224f3ef590c",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/27898794157"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.1",
      "date": "2026-06-21T08:37:52.000Z",
      "commit": "e7953cc136ad1cfae14674facde21e90caddea5f",
      "fileid": "d7a85323be37d42698ff559a8aedbb6f72dc91310d89ac1da4a76a7be0af7245",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/27898794157"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.1",
      "date": "2026-06-21T08:37:54.000Z",
      "commit": "e7953cc136ad1cfae14674facde21e90caddea5f",
      "fileid": "a4bcb395a191e165546313e86080f9d4232a7710ca759206f8178d415fbadfec",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/27898794157"
    }
  ]
}