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.5)cit_2.4.0.zip(r-4.4)cit_2.4.0.zip(r-4.3)
cit_2.4.0.tgz(r-4.4-x86_64)cit_2.4.0.tgz(r-4.4-arm64)cit_2.4.0.tgz(r-4.3-x86_64)cit_2.4.0.tgz(r-4.3-arm64)
cit_2.4.0.tar.gz(r-4.5-noble)cit_2.4.0.tar.gz(r-4.4-noble)
cit_2.4.0.tgz(r-4.4-emscripten)cit_2.4.0.tgz(r-4.3-emscripten)
cit.pdf |cit.html
cit/json (API)
NEWS

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

Peer review:

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

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

On CRAN:

17 exports 2 stars 1.35 score 1 dependencies 1 mentions 32 scripts 526 downloads

Last updated 3 months agofrom:620f42dc91. Checks:OK: 1 ERROR: 8. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 26 2024
R-4.5-win-x86_64ERRORAug 26 2024
R-4.5-linux-x86_64ERRORAug 26 2024
R-4.4-win-x86_64ERRORAug 26 2024
R-4.4-mac-x86_64ERRORAug 26 2024
R-4.4-mac-aarch64ERRORAug 26 2024
R-4.3-win-x86_64ERRORAug 26 2024
R-4.3-mac-x86_64ERRORAug 26 2024
R-4.3-mac-aarch64ERRORAug 26 2024

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