Skip to contents

The function creates one plot for each fold in PRS. This plot will show the chosen method evaluated for each threshold. Lastly the function will plot the mean for each threshold. The function can be used to find which threshold of p-values best can describe the data.

Usage

prs_plot(PRS, data, method = "MSE")

Arguments

PRS

Output from PRS_cross.

data

List generated from gen_sim.

method

Indicates Which method each fold should be evaluated on.

Value

List containing two plots, one for each threshold and fold and one mean of all folds.