Package: cit 2.4.0

Joshua Millstein

cit: Causal Inference Test

A likelihood-based hypothesis testing approach is implemented for assessing causal mediation. Described in Millstein, Chen, and Breton (2016), <doi:10.1093/bioinformatics/btw135>, it could be used to test for mediation of a known causal association between a DNA variant, the 'instrumental variable', and a clinical outcome or phenotype by gene expression or DNA methylation, the potential mediator. Another example would be testing mediation of the effect of a drug on a clinical outcome by the molecular target. The hypothesis test generates a p-value or permutation-based FDR value with confidence intervals to quantify uncertainty in the causal inference. The outcome can be represented by either a continuous or binary variable, the potential mediator is continuous, and the instrumental variable can be continuous or binary and is not limited to a single variable but may be a design matrix representing multiple variables.

Authors:Joshua Millstein [aut, cre]

cit_2.4.0.tar.gz
cit_2.4.0.zip(r-4.7)cit_2.4.0.zip(r-4.6)cit_2.4.0.zip(r-4.5)
cit_2.4.0.tgz(r-4.6-x86_64)cit_2.4.0.tgz(r-4.6-arm64)cit_2.4.0.tgz(r-4.5-x86_64)cit_2.4.0.tgz(r-4.5-arm64)
cit_2.4.0.tar.gz(r-4.7-arm64)cit_2.4.0.tar.gz(r-4.7-x86_64)cit_2.4.0.tar.gz(r-4.6-arm64)cit_2.4.0.tar.gz(r-4.6-x86_64)
cit_2.4.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
cit/json (API)
NEWS

# Install 'cit' in R:
install.packages('cit', repos = c('https://uscbiostats.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/uscbiostats/cit/issues

Uses libs:
  • gsl– GNU Scientific Library (GSL)
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

gslcpp

3.86 score 2 stars 36 scripts 289 downloads 1 mentions 17 exports 1 dependencies

Last updated from:620f42dc91. Checks:11 ERROR, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64ERROR218
linux-devel-x86_64ERROR163
source / vignettesOK274
linux-release-arm64ERROR177
linux-release-x86_64ERROR153
macos-release-arm64ERROR129
macos-release-x86_64ERROR255
macos-oldrel-arm64ERROR101
macos-oldrel-x86_64ERROR404
windows-develERROR176
windows-releaseERROR127
windows-oldrelERROR177
wasm-releaseOK151

Exports:cit.bpcit.bp.m.v1cit.bp.m.v2cit.bp.v1cit.bp.v2cit.cpcit.cp.m.v1cit.cp.m.v2cit.cp.v1cit.cp.v2fdr.citfdr.odfdr.q.parafdr.q.permiuqlinregM.ncms_f

Dependencies:Rcpp