Power_plots | R Documentation |
This function is used to calculate and plot the power for each of the models GWAS, GWAX and LTFH. The function is only designed to plot all three of the plots against each other, and not any subsets.
Power_plots(Gwas_data, a)
Gwas_data |
A list with exactly three entrances, with the GWAS-data obtained from each model (GWAS, GWAX and LTFH), where the data from GWAS has to be the first entrance, the data from GWAX has to be the second entrance and the data from LTFH has to be on the last entrance. |
a |
Significance level used to determine causal SNPs. |
A ggplot object with power plots from GWAS, GWAX and LTFH, to get a visual comparison of the prediction power for each model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.