inbFun: Fitness function from contribution theory using only the group relationship
Description
Simple function for fitness where we only use the group relationship.
Usage
inbFun(Q,D,...)
Value
$res
a vector of values
Arguments
Q
A QTL matrix. See details.
D
An LD matrix. See details.
...
additional arguments to pass.
Details
A simple apply function of a regular index weighted by a vector of relationships.
Matrix::diag(Q%*%Matrix::tcrossprod(D,Q)) of dimensions n x n
Notice that Q represents the marker of QTLs (columns) for all solutions (rows) and D the LD between QTLs. The user can modify this function as needed and provide it to the evolafit function along with other arguments.
References
Giovanny Covarrubias-Pazaran (2024). evola: a simple evolutionary algorithm for complex problems. To be submitted to Bioinformatics.