powered by
Provide the performance evaluated by predictive r2 and AUC.
validate(score, truey)
polygenic score generated by 'EBPRS'
the true phenotype (the 6th column in the fam file)
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
EBPRS
# NOT RUN { validate(score=rnorm(20,0,1), truey=sample(0:1,20,replace=TRUE)) # }
Run the code above in your browser using DataLab