Description Usage Arguments Value Author(s) Examples
View source: R/SNPs_scatter_plot.R
To generate the scatter plot of all the SNPs that the user use in the analysis
1 | 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
1 2 3 4 | data(conditional_A)
data(betas.Gy)
t = SNPs_scatter_plot(A = conditional_A, betas.Gy = betas.Gy, num_X = 2)
t
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.