validate {EBPRS} | R Documentation |
Provide the performance evaluated by predictive r2 and AUC.
validate(score, truey)
score |
polygenic score generated by 'EBPRS' |
truey |
the true phenotype (the 6th column in the fam file) |
Shuang Song, Wei Jiang, Lin Hou and Hongyu Zhao
Song S, Jiang W, Hou L, Zhao H (2020) Leveraging effect size distributions to improve polygenic risk scores derived from summary statistics of genome-wide association studies. PLoS Comput Biol 16(2): e1007565. https://doi.org/10.1371/journal.pcbi.1007565
validate(score=rnorm(20,0,1), truey=sample(0:1,20,replace=TRUE))