susieJAM_A | R Documentation |
The susieJAM_A
function is to get the conditional A matrix by using marginal A matrix
susieJAM_A(
marginalA,
marginalA_se,
N.Gx,
eaf.Gy = NULL,
Geno,
inclusion.indicator,
L.cs,
min_abs_corr,
max_iter,
coverage,
estimate_residual_variance = TRUE
)
marginalA |
the marginal effects of SNPs on the exposures (Gx). |
marginalA_se |
the standard error of the marginal effects of SNPs on the exposures (Gx). |
N.Gx |
the sample size of each Gx. It can be a scalar or a vector. If there are multiple X's from different Gx, it should be a vector including the sample size of each Gx. If all alphas are from the same Gx, it could be a scalar. |
eaf.Gy |
the effect allele frequency of the SNPs in the Gx data. |
Geno |
the reference panel (Geno), such as 1000 Genome。 |
inclusion.indicator |
The matrix of inclusion indicator of SNPs for each intermediate. Included as 1; otherwise 0. |
L.cs |
A susie input parameter. Number of components (nonzero elements) in the SuSiE regression model. If L.cs is larger than the number of covariate (p), L.cs is set to p. |
min_abs_corr |
A susie input parameter. Minimum of absolute value of correlation allowed in a credible set. The default, 0.5, corresponds to squared correlation of 0.25, which is a commonly used threshold for genotype data in genetics studies. |
max_iter |
Maximum number of iterations in SuSiE fitting. |
coverage |
Default as 0.95.The coveralge level of the credible set. |
estimate_residual_variance |
Default as TRUE. Estimate the residual variance in each iteration of SuSiE fitting. |
A matrix with conditional estimates which are converted from marginal estimates using the susie JAM model.
Lai Jiang
data(GTEx.PrCa)
susieJAM_A(marginalA = GTEx.PrCa.marginal.A[, 1:9],
marginalA_se = GTEx.PrCa.marginal.A.se[, 1:9], eaf.Gy = GTEx.PrCa.maf.gwas,
Geno = GTEx.PrCa.Geno, inclusion.indicator = GTEx.PrCa.inclusion.indicator,
N.Gx = 620, L.cs = 10, min_abs_corr = 0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.