Skip to contents

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.

Usage

Power_plots(Gwas_data, a)

Arguments

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.

Value

A ggplot object with power plots from GWAS, GWAX and LTFH, to get a visual comparison of the prediction power for each model.