validate {EBPRS} | R Documentation |
Validate the performance of EBPRS
Description
Provide the performance evaluated by predictive r2 and AUC.
Usage
validate(score, truey)
Arguments
score |
polygenic score generated by 'EBPRS' |
truey |
the true phenotype (the 6th column in the fam file) |
Author(s)
Shuang Song, Wei Jiang, Lin Hou and Hongyu Zhao
References
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
See Also
Examples
validate(score=rnorm(20,0,1), truey=sample(0:1,20,replace=TRUE))
[Package EBPRS version 2.1.0 Index]