{
  "_id": "6aca7cedfe5cc25786e8a18d",
  "Package": "cit",
  "Type": "Package",
  "Title": "Causal Inference Test",
  "Version": "2.4.0",
  "Date": "2024-06-26",
  "Authors@R": "person(\"Joshua\", \"Millstein\", email = \"joshua.millstein@usc.edu\", role =\nc(\"aut\", \"cre\"), comment = c(ORCID=\"0000-0001-7961-8943\"))",
  "Description": "A likelihood-based hypothesis testing approach is\nimplemented for assessing causal mediation. Described in\nMillstein, Chen, and Breton (2016),\n<DOI:10.1093/bioinformatics/btw135>, it could be used to test\nfor mediation of a known causal association between a DNA\nvariant, the 'instrumental variable', and a clinical outcome or\nphenotype by gene expression or DNA methylation, the potential\nmediator. Another example would be testing mediation of the\neffect of a drug on a clinical outcome by the molecular target.\nThe hypothesis test generates a p-value or permutation-based\nFDR value with confidence intervals to quantify uncertainty in\nthe causal inference. The outcome can be represented by either\na continuous or binary variable, the potential mediator is\ncontinuous, and the instrumental variable can be continuous or\nbinary and is not limited to a single variable but may be a\ndesign matrix representing multiple variables.",
  "SystemRequirements": "gsl (with development libraries libgsl-dev)",
  "License": "Artistic-2.0",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.1",
  "LazyLoad": "yes",
  "BugReports": "https://github.com/USCbiostats/cit/issues",
  "URL": "https://github.com/USCbiostats/cit",
  "Config/pak/sysreqs": "libgsl0-dev",
  "Repository": "https://uscbiostats.r-universe.dev",
  "Date/Publication": "2024-06-27 04:50:38 UTC",
  "RemoteUrl": "https://github.com/uscbiostats/cit",
  "RemoteRef": "HEAD",
  "RemoteSha": "620f42dc9195d73b391497b6f1fccf6794756d67",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-10 16:48:47 UTC",
    "User": "root"
  },
  "Author": "Joshua Millstein [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-7961-8943>)",
  "Maintainer": "Joshua Millstein <joshua.millstein@usc.edu>",
  "_user": "uscbiostats",
  "_type": "src",
  "_file": "cit_2.4.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/a7b7b6165dc662d0df2d7d326f5e4c62523bb8322c6ebb303f21208c84ceab41",
  "_filesize": 185015,
  "_sha256": "a7b7b6165dc662d0df2d7d326f5e4c62523bb8322c6ebb303f21208c84ceab41",
  "_expires": "2027-01-18T17:59:07.000Z",
  "_created": "2026-10-10T16:48:47.000Z",
  "_published": "2026-10-10T17:59:08.872Z",
  "_buildurl": "https://github.com/r-universe/uscbiostats/actions/runs/38068951198",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114263172011,
      "time": 171,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "11676172398"
    },
    {
      "job": 114263172017,
      "time": 192,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "11676506926"
    },
    {
      "job": 114263171976,
      "time": 153,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11675479266"
    },
    {
      "job": 114263171987,
      "time": 167,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11675814048"
    },
    {
      "job": 114263171997,
      "time": 139,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "11677801974"
    },
    {
      "job": 114263172038,
      "time": 311,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "11675974219"
    },
    {
      "job": 114263171942,
      "time": 324,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11678291392"
    },
    {
      "job": 114263172024,
      "time": 264,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11676172542"
    },
    {
      "job": 114262299236,
      "time": 272,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11675444200"
    },
    {
      "job": 114263171902,
      "time": 156,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11676382089"
    },
    {
      "job": 114263172012,
      "time": 286,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "11675859189"
    },
    {
      "job": 114263172046,
      "time": 194,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "11675439586"
    },
    {
      "job": 114263172087,
      "time": 162,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "11675619119"
    },
    {
      "job": 114263172025,
      "time": 293,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11676555113"
    },
    {
      "job": 114263172461,
      "time": 178,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11675404612"
    }
  ],
  "_upstream": "https://github.com/uscbiostats/cit",
  "_commit": {
    "id": "620f42dc9195d73b391497b6f1fccf6794756d67",
    "author": "MingzhiYe16 <yemingzhis@gmail.com>",
    "committer": "MingzhiYe16 <yemingzhis@gmail.com>",
    "message": "change DESCRIPTIOON file\n",
    "time": 1719463838
  },
  "_maintainer": {
    "name": "Joshua Millstein",
    "email": "joshua.millstein@usc.edu",
    "login": "millstei",
    "description": "",
    "uuid": 23107824,
    "orcid": "0000-0001-7961-8943"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "tinytest",
      "role": "Suggests"
    }
  ],
  "_owner": "uscbiostats",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 3,
  "_contributors": [
    {
      "user": "millstei",
      "count": 13,
      "uuid": 23107824
    },
    {
      "user": "gvegayon",
      "count": 9,
      "uuid": 893619
    },
    {
      "user": "mingzhiye16",
      "count": 5,
      "uuid": 45770554
    }
  ],
  "_userbio": {
    "uuid": 10712919,
    "type": "organization",
    "name": "USC Division of Biostatistics",
    "followers": 47,
    "description": "Organization for USC Division of Biostatistics"
  },
  "_downloads": {
    "count": 428,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/cit"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/uscbiostats/cit",
  "_searchresults": 38,
  "_topics": [
    "gsl",
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/cit.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/uscbiostats/cit",
  "_realowner": "uscbiostats",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2011-09-07"
    },
    {
      "version": "1.1",
      "date": "2011-12-10"
    },
    {
      "version": "1.2",
      "date": "2013-12-20"
    },
    {
      "version": "1.3",
      "date": "2014-12-10"
    },
    {
      "version": "1.4",
      "date": "2015-03-10"
    },
    {
      "version": "1.5",
      "date": "2015-10-25"
    },
    {
      "version": "1.7",
      "date": "2015-10-28"
    },
    {
      "version": "1.8",
      "date": "2016-01-09"
    },
    {
      "version": "1.9",
      "date": "2016-01-10"
    },
    {
      "version": "2.0",
      "date": "2016-03-07"
    },
    {
      "version": "2.1",
      "date": "2016-11-15"
    },
    {
      "version": "2.2",
      "date": "2017-12-15"
    },
    {
      "version": "2.3.1",
      "date": "2021-05-25"
    },
    {
      "version": "2.3.2",
      "date": "2024-06-28"
    }
  ],
  "_exports": [
    "cit.bp",
    "cit.bp.m.v1",
    "cit.bp.m.v2",
    "cit.bp.v1",
    "cit.bp.v2",
    "cit.cp",
    "cit.cp.m.v1",
    "cit.cp.m.v2",
    "cit.cp.v1",
    "cit.cp.v2",
    "fdr.cit",
    "fdr.od",
    "fdr.q.para",
    "fdr.q.perm",
    "iuq",
    "linregM.nc",
    "ms_f"
  ],
  "_help": [
    {
      "page": "cit-package",
      "title": "Causal Inference Test",
      "topics": [
        "cit-package"
      ]
    },
    {
      "page": "cit.bp",
      "title": "Causal Inference Test for a Binary Outcome",
      "topics": [
        "cit.bp"
      ]
    },
    {
      "page": "cit.cp",
      "title": "Causal Inference Test for a Continuous Outcome",
      "topics": [
        "cit.cp"
      ]
    },
    {
      "page": "fdr.cit",
      "title": "Omnibus FDR Values for CIT",
      "topics": [
        "fdr.cit"
      ]
    },
    {
      "page": "fdr.od",
      "title": "Permutation-Based FDR and Confidence Interval",
      "topics": [
        "fdr.od"
      ]
    },
    {
      "page": "fdr.q.para",
      "title": "Parametric tail-area FDR Values, q-values",
      "topics": [
        "fdr.q.para"
      ]
    },
    {
      "page": "fdr.q.perm",
      "title": "Nonparametric permutation-based tail-area FDR Values, q-values",
      "topics": [
        "fdr.q.perm"
      ]
    },
    {
      "page": "iuq",
      "title": "Intersection/Union Q-Value",
      "topics": [
        "iuq"
      ]
    },
    {
      "page": "linreg",
      "title": "F Test for Linear Model",
      "topics": [
        "linreg"
      ]
    }
  ],
  "_readme": "https://github.com/uscbiostats/cit/raw/HEAD/README.md",
  "_rundeps": [
    "Rcpp"
  ],
  "_sysdeps": [
    {
      "shlib": "libgsl",
      "package": "libgsl28",
      "headers": "libgsl-dev",
      "source": "gsl",
      "version": "2.8+dfsg-6",
      "name": "gsl",
      "homepage": "https://www.gnu.org/software/gsl",
      "description": "GNU Scientific Library (GSL) -- library package"
    },
    {
      "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.056904851336473,
  "_indexed": true,
  "_nocasepkg": "cit",
  "_universes": [
    "uscbiostats",
    "millstei"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.4.0",
      "date": "2026-10-10T16:52:13.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "620f42dc9195d73b391497b6f1fccf6794756d67",
      "fileid": "https://r2.ropensci.org/d26ceb86aa5b39b5ed764abc26f0ee1d943164cdc46897ff20ace3cbd5879935",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/uscbiostats/actions/runs/38068951198"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.4.0",
      "date": "2026-10-10T16:52:16.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "620f42dc9195d73b391497b6f1fccf6794756d67",
      "fileid": "https://r2.ropensci.org/161a7e5931ceed6d342b44910b322f89f2fe3b993e0f06b3686404501b44fe11",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/uscbiostats/actions/runs/38068951198"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.4.0",
      "date": "2026-10-10T16:51:56.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "620f42dc9195d73b391497b6f1fccf6794756d67",
      "fileid": "https://r2.ropensci.org/e131c4d1bf5587f9f4ce4aa3338b36df7389267a73f2975497f46629a41bfdbe",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/uscbiostats/actions/runs/38068951198"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.4.0",
      "date": "2026-10-10T16:51:54.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "620f42dc9195d73b391497b6f1fccf6794756d67",
      "fileid": "https://r2.ropensci.org/dd3ae5eeb82cf761a5e05b9aee28793aba5893731c11f4279bc1958d43090c93",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/uscbiostats/actions/runs/38068951198"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.4.0",
      "date": "2026-10-10T17:55:57.000Z",
      "arch": "aarch64",
      "commit": "620f42dc9195d73b391497b6f1fccf6794756d67",
      "fileid": "https://r2.ropensci.org/2235a2ce4a79e5f8ab6bedec471090ec228f9ef08ada286e9a785cc6b234f082",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/uscbiostats/actions/runs/38068951198"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.4.0",
      "date": "2026-10-10T16:53:32.000Z",
      "arch": "x86_64",
      "commit": "620f42dc9195d73b391497b6f1fccf6794756d67",
      "fileid": "https://r2.ropensci.org/ab41b0ccca4c280956860e3748e488b33ee5ba9ba8463141e99efc85fad7c294",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/uscbiostats/actions/runs/38068951198"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.4.0",
      "date": "2026-10-10T17:55:59.000Z",
      "arch": "aarch64",
      "commit": "620f42dc9195d73b391497b6f1fccf6794756d67",
      "fileid": "https://r2.ropensci.org/567ef62767288231ed35fcfc420f01dd21ce91316f2cf1e823d0b0893e642d98",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/uscbiostats/actions/runs/38068951198"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.4.0",
      "date": "2026-10-10T16:52:48.000Z",
      "arch": "x86_64",
      "commit": "620f42dc9195d73b391497b6f1fccf6794756d67",
      "fileid": "https://r2.ropensci.org/38c3ce1d7437294502fcdf242b61b6156e8400bdcb23a7d14c068bbc98860ecf",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/uscbiostats/actions/runs/38068951198"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.4.0",
      "date": "2026-10-10T16:51:54.000Z",
      "arch": "emscripten",
      "commit": "620f42dc9195d73b391497b6f1fccf6794756d67",
      "fileid": "https://r2.ropensci.org/e13e4f06d69831d06cc750032e37cfd4fa3e1d5eb4647a602d88bcb7447c2e3c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/uscbiostats/actions/runs/38068951198"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.4.0",
      "date": "2026-10-10T16:53:14.000Z",
      "arch": "aarch64",
      "commit": "620f42dc9195d73b391497b6f1fccf6794756d67",
      "fileid": "https://r2.ropensci.org/e8c8c4230d04d6430be0636c3f26f936d4c3ac66229e7fd2756c8f7cd345e0d3",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/uscbiostats/actions/runs/38068951198"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.4.0",
      "date": "2026-10-10T16:51:23.000Z",
      "arch": "x86_64",
      "commit": "620f42dc9195d73b391497b6f1fccf6794756d67",
      "fileid": "https://r2.ropensci.org/e8a01c10f5bd4c5c7e14ae43ff49ea914a9c24ec7046f36fe9c1c48a8ccf3131",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/uscbiostats/actions/runs/38068951198"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.4.0",
      "date": "2026-10-10T16:51:07.000Z",
      "arch": "x86_64",
      "commit": "620f42dc9195d73b391497b6f1fccf6794756d67",
      "fileid": "https://r2.ropensci.org/abba2770bbafabdec6033fc7065e0ddfbee4622f33f40a7cf8b80ed5e4eacbac",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/uscbiostats/actions/runs/38068951198"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.4.0",
      "date": "2026-10-10T16:53:20.000Z",
      "arch": "aarch64",
      "commit": "620f42dc9195d73b391497b6f1fccf6794756d67",
      "fileid": "https://r2.ropensci.org/cedfcad26bdcd262c40aced00ef90db2c0ecdde9190a3c1b9e6cc99e5c2c8697",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/uscbiostats/actions/runs/38068951198"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.4.0",
      "date": "2026-10-10T16:51:05.000Z",
      "arch": "x86_64",
      "commit": "620f42dc9195d73b391497b6f1fccf6794756d67",
      "fileid": "https://r2.ropensci.org/de5c18a6b4e1745c38605786170f6fc36f225730556d3f79f1137dd456ebcbfc",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/uscbiostats/actions/runs/38068951198"
    }
  ]
}