SMR_interval {iGasso} | R Documentation |
Interval Estimates for Summary Data Mendelian Randomization Analysis in the Presence of Winner's Curse
Description
SMR_interval
calculates conservative box method interval, k-unit support interval, and Wald confidence interval for the causal effect.
Usage
SMR_interval(
summary.data,
sig.level = 5e-08,
k = 2,
alpha = 0.05,
method = "box"
)
Arguments
summary.data |
a vector ( |
sig.level |
the threshold |
k |
the unit used for the k-unit support. The default value is 2. |
alpha |
|
method |
method to construct the interval. It is either " |
Value
The returned value is method-dependent.
For method == "box"
: A list containing the following components:
* an interval estimate.
* type of the interval: completely bounded, exclusive bounded, or bounded.
For method == "support"
: A list containing the following components:
* Estimate The likelihood estimate of b
.
* an interval estimate.
For method == "wald"
: an interval estimate.
Author(s)
Kai Wang <kai-wang@uiowa.edu>
References
Wang, K. (2023) Support interval for two-sample summary data-based mendelia randomization. Genes, 14(1):211.
Wang, K. (2023) Interval estimate of causal effect in summary data based Mendelian randomization in the presence of winner’s curse. Genetic Epidemiology, 14(1):211.
Zhu, Z. et al. (2016) Integration of summary data from GWAS and eQTL studies predicts complex trait gene targets. Nature Genetics, 48(5):481.
Examples
summary.data = c(0.13707, 0.0235162, -0.0637257, 0.013774)
SMR_interval(summary.data)
SMR_interval(summary.data, method = "support")
SMR_interval(summary.data, method = "wald")