evalR2_XPASS: Evaluate the approximated predictive R2 using an independent...

View source: R/predict_XPASS.R

evalR2_XPASSR Documentation

Evaluate the approximated predictive R2 using an independent GWAS summary statistics.

Description

This function approximates the predictive R2 of XPASS using an independent GWAS summary statistics.

Usage

evalR2_XPASS(pm, file_z_pred, file_predgeno)

Arguments

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.

Value

Approximated predictive R^2.

Examples

See vignette.

YangLabHKUST/XPASS documentation built on June 29, 2024, 11:16 a.m.