Skip to contents

The function will take outcome from pred_model and use it an to find the PRS of each subject having the trait/sickness.

Usage

prediction(test_data, gwas, thr)

Arguments

test_data

List generated from gen_sim.

thr

Threshold for p-value to be used in calculating PRS.

model

Output from pred_model.

Value

A matrix containing predictions.