cdmax_score: CDmax score

View source: R/scores.R

cdmax_scoreR Documentation

CDmax score

Description

Largest, over the target rows, of the coefficient of determination of the ridge model on the columns of X (the per-individual value averaged by cd_score; default \lambda = 1). It protects the best-determined individual, as the CDMAX of STPGA does. Larger is better.

Usage

cdmax_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

Akdemir, D., Sanchez, J. I., & Jannink, J.-L. (2015). Optimization of genomic selection training populations with a genetic algorithm. Genetics Selection Evolution, 47, 38. <doi:10.1186/s12711-015-0116-6>

Examples

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

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