prediction | R Documentation |
The function will take outcome from pred_model and use it an to find the PRS of each subject having the trait/sickness.
prediction(test_data, gwas, thr)
test_data |
List generated from gen_sim. |
thr |
Threshold for p-value to be used in calculating PRS. |
model |
Output from pred_model. |
A matrix containing predictions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.