Description Usage Arguments Details Value Author(s) Examples
Calculate asymptotic performance of poligenic risk score (PRS) at all possible p-value thresholds.
1 | prsInf(gwasBt, gwasPV, signal)
|
gwasBt, gwasPV |
Vectors of effect size estimates and p-values for all SNPs. |
signal |
Vector of effect sizes for all SNPs. |
The function does not generate the artificial genotype and phenotype. Instead, finite sample distribution of the summary statistics is used for generation of the output.
The function returns the vector of p-value thresholds
(sorted vector of GWAS p-values, pv
)
and corresponding asymptotic correlations of
the phenotype with PRS (r
).
Andrey A Shabalin andrey.shabalin@gmail.com
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.