Description Usage Arguments Value Author(s) References Examples
The hJAM function is to get the results from the hJAM model using input data
1 | hJAM_lnreg(betas.Gy, N.Gy, Gl, A, ridgeTerm = FALSE)
|
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. |
An object of the hJAM with linear regression results.
The intermediates, such as the modifiable risk factors in Mendelian Randomization and gene expression in transcriptome analysis.
The number of SNPs that the user use in the instrument set.
The conditional estimates of the associations between intermediates and the outcome.
The standard error of the conditional estimates of the associations between intermediates and the outcome.
The lower bound of the 95% confidence interval of the estimates.
The upper bound of the 95% confidence interval of the estimates.
The p value of the estimates with a type-I error equals 0.05.
Lai Jiang
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.
1 2 3 4 | data(Gl)
data(betas.Gy)
data(conditional_A)
hJAM_lnreg(betas.Gy = betas.Gy, Gl = Gl, N.Gy = 459324, A = conditional_A, ridgeTerm = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.