pev_score: PEV score

View source: R/RcppExports.R

pev_scoreR Documentation

PEV score

Description

This function calculate prediction error variance (PEV) score doi:10.1186/s12711-015-0116-6 by given training set and test set.

Usage

pev_score(X, X0)

Arguments

X

A numeric matrix. The training set genotypic information matrix can be given as genotype matrix (coded as -1, 0, 1) or principle component matrix (row: sample; column: marker).

X0

A numeric mareix. The test set genotypic information matrix can be given as genotype matrix (coded as -1, 0, 1) or principle component matrix (row: sample; column: marker).

Value

A floating-point number, PEV score.

Author(s)

Jen-Hsiang Ou

Examples

data(geno)
## Not run: pev_score(geno[1:50, ], geno[51:100])


TSDFGS documentation built on June 7, 2022, 5:06 p.m.