hJAM_egger {hJAM} | R Documentation |
Fit hJAM with Egger regression
Description
The hJAM_egger function is to get the results from the hJAM model with Egger regression. It is for detecting potential pleiotropy
Usage
hJAM_egger(betas.Gy, N.Gy, Gl, A, ridgeTerm = FALSE)
Arguments
betas.Gy |
The betas in the paper: the marginal effects of SNPs on the phenotype (Gy) |
N.Gy |
The sample size of Gy |
Gl |
The reference panel (Gl), such as 1000 Genome |
A |
The A matrix in the paper: the marginal/conditional effects of SNPs on the exposures (Gx) |
ridgeTerm |
ridgeTerm = TRUE when the matrix L is singular. Matrix L is obtained from the cholesky decomposition of G0'G0. Default as FALSE. |
Value
An object of the hJAM with egger regression results.
- Exposure
The intermediates, such as the modifiable risk factors in Mendelian Randomization and gene expression in transcriptome analysis.
- numSNP
The number of SNPs that the user use in the instrument set.
- Estimate
The conditional estimates of the associations between intermediates and the outcome.
- StdErr
The standard error of the conditional estimates of the associations between intermediates and the outcome.
- Lower.CI
The lower bound of the 95% confidence interval of the estimates.
- Upper.CI
The upper bound of the 95% confidence interval of the estimates.
- Pvalue
The p value of the estimates with a type-I error equals 0.05.
- Est.Int
The intercept of the regression of intermediates on the outcome.
- StdErr.Int
The standard error of the intercept of the regression of intermediates on the outcome.
- Lower.CI.Int
The lower bound of the 95% confidence interval of the intercept.
- Upper.CI.Int
The upper bound of the 95% confidence interval of the intercept.
- Pvalue.Int
The p value of the intercept with a type-I error equals 0.05.
An object of hJAM with egger regression results.
Author(s)
Lai Jiang
References
Lai Jiang, Shujing Xu, Nicholas Mancuso, Paul J. Newcombe, David V. Conti (2020). A Hierarchical Approach Using Marginal Summary Statistics for Multiple Intermediates in a Mendelian Randomization or Transcriptome Analysis. bioRxiv https://doi.org/10.1101/2020.02.03.924241.
Examples
data(Gl)
data(betas.Gy)
data(conditional_A)
hJAM_egger(betas.Gy = betas.Gy, Gl = Gl, N.Gy = 459324, A = conditional_A, ridgeTerm = TRUE)