cit

Causal Inference Test

CRAN Package

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.


Documentation


Team


Insights

Last 30 days

This package has been downloaded 388 times in the last 30 days. More than a random curiosity, but not quite a blockbuster. Still, it's gaining traction! The following heatmap shows the distribution of downloads per day. Yesterday, it was downloaded 15 times.

Sun
Mon
Tue
Wed
Thu
Fri
Sat
0 downloadsMar 2, 2025
0 downloadsMar 3, 2025
21 downloadsMar 4, 2025
32 downloadsMar 5, 2025
5 downloadsMar 6, 2025
10 downloadsMar 7, 2025
11 downloadsMar 8, 2025
4 downloadsMar 9, 2025
12 downloadsMar 10, 2025
15 downloadsMar 11, 2025
7 downloadsMar 12, 2025
11 downloadsMar 13, 2025
4 downloadsMar 14, 2025
35 downloadsMar 15, 2025
3 downloadsMar 16, 2025
15 downloadsMar 17, 2025
19 downloadsMar 18, 2025
9 downloadsMar 19, 2025
14 downloadsMar 20, 2025
12 downloadsMar 21, 2025
6 downloadsMar 22, 2025
24 downloadsMar 23, 2025
15 downloadsMar 24, 2025
2 downloadsMar 25, 2025
17 downloadsMar 26, 2025
7 downloadsMar 27, 2025
37 downloadsMar 28, 2025
0 downloadsMar 29, 2025
7 downloadsMar 30, 2025
4 downloadsMar 31, 2025
15 downloadsApr 1, 2025
15 downloadsApr 2, 2025
0 downloadsApr 3, 2025
0 downloadsApr 4, 2025
0 downloadsApr 5, 2025
0
37

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Last 365 days

This package has been downloaded 6,637 times in the last 365 days. Impressive! The kind of number that makes colleagues ask, 'How did you do it?' The day with the most downloads was Apr 17, 2024 with 88 downloads.

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Data provided by CRAN


Binaries


Dependencies

  • Suggests1 package