SNPs_scatter_plot {hJAM} | R Documentation |
To generate the scatter plot of all the SNPs that the user use in the analysis
SNPs_scatter_plot(A, betas.Gy, num_X)
A |
The effects of SNPs on the exposures (Gx). |
betas.Gy |
The betas in the paper: the marginal effects of SNPs on the phenotype (Gy) |
num_X |
The number of intermediates in the research question. |
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(conditional_A)
data(betas.Gy)
t = SNPs_scatter_plot(A = conditional_A, betas.Gy = betas.Gy, num_X = 2)
t