SHAJAM | R Documentation |
Function to implement SHA-JAM
SHAJAM(
betas.Gy,
betas_se.Gy = NULL,
N.Gy,
eaf.Gy = NULL,
Geno,
A,
L.cs = NULL,
min_abs_corr = NULL,
coverage = 0.95,
estimate_residual_variance = TRUE,
max_iter = 500
)
betas.Gy |
The betas in the paper: the marginal effects of SNPs on the phenotype (Gy) |
betas_se.Gy |
The standard errors of the betas |
N.Gy |
The sample size of the GWAS where you obtain the betas.Gy and betas_se.Gy |
eaf.Gy |
The reference allele frequency of the SNPs in betas.Gy |
Geno |
The individual level data of the reference panel. Must have the same order of SNPs as in the betas.Gy. |
A |
The conditional A matrix. |
L.cs |
The largest number of credible set allowed in SHA-JAM. Required by SHA-JAM. |
min_abs_corr |
The requested minimum absolute correlation coefficient between intermediates within one credible set. Required by SHA-JAM. |
coverage |
The coverage of credible set. Default is 0.95. Required by SHA-JAM. |
estimate_residual_variance |
If estimate the residual variance in the fitting procedure of SHA-JAM. Default as TRUE. Required by SHA-JAM. |
max_iter |
The number of maximum iterations in fitting SHA-JAM. Required by SHA-JAM. |
An object of the SHAJAM
The number of SNPs used in the analysis.
The number of intermediates in the analysis.
The number of selected intermediates, regardless of the credible sets.
The label/name for each selected intermediates.
The coefficients of selected intermediates.
The posterior inclusion probability of each selected intermediate.
Number of credible sets.
The label/name for all candidate intermediates.
The posterior inclusion probability of all candidate intermediates.
The coefficients of all candidate intermediates.
The purity of the credibel set selected.
Lai Jiang
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.