cdmean2_score: CDmean(v2) score

View source: R/scores.R

cdmean2_scoreR Documentation

CDmean(v2) score

Description

Mean of diag(K_{PT} W K_{TP}) / diag(K_{PP}), the heuristic form of CDmean (GBLUP, K = XX'/p, default \lambda = 1). Larger is better.

Usage

cdmean2_score(X, X0, lambda = NULL)

Arguments

X

A numeric matrix of the training set (row: individual; column: marker or PC).

X0

A numeric matrix of the target rows (the test set), with the same columns as X.

lambda

A positive number, the ridge penalty, or NULL (default) for the default of the criterion.

Details

See criteria for the list of criteria and the package website for one page per criterion.

Value

A number.

Author(s)

Jen-Hsiang Ou

References

Chen, S.-P., Sung, W.-H., & Liao, C.-T. (2024). Constructing training sets for genomic selection to identify superior genotypes in candidate populations. Theoretical and Applied Genetics, 137, 270. <doi:10.1007/s00122-024-04766-y>

Examples

data(geno)
cdmean2_score(geno[1:50, ], geno[51:100, ])

TSDFGS documentation built on Nov. 12, 2026, 5:09 p.m.