View source: R/predict_XPASS.R
evalR2_XPASS | R Documentation |
This function approximates the predictive R2 of XPASS using an independent GWAS summary statistics.
evalR2_XPASS(pm, file_z_pred, file_predgeno)
pm |
The output 'mu' obtained from the 'XPASS' function, which stores the posterior means computed by XPASS. |
file_z_pred |
Summary statistics file of the test data. The format is the same as XPASS input. |
file_predgeno |
Prefix of the reference genotypes in plink format. |
Approximated predictive R^2.
See vignette.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.