SNPs_scatter_plot | R Documentation |
To generate the scatter plot of the SNPs vs. one intermediate that the user use in the analysis
SNPs_scatter_plot(alphas, betas.Gy, X.label = NULL)
alphas |
The effects of SNPs on the intermediate (i.e. exposure/risk factor) (Gx). |
betas.Gy |
The betas in the paper: the marginal effects of SNPs on the phenotype (Gy) |
X.label |
The label of the intermediate (i.e. exposure/risk factor). Default is NULL. |
A set of scatter plots with x-axis being the conditional \alpha
estimates for each
intermediate and y-axis being the \beta
estimates.
Lai Jiang
data(MI)
SNPs_scatter_plot(alphas = MI.Amatrix[, 1], betas.Gy = MI.betas.gwas, X.label = "BMI")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.