Quantitative Genetics Practical 6: From genetic evaluation to selection decisions
Learning objectives
Define a labelled breeding objective; distinguish economic weights from prediction coefficients; construct a linear selection index from supplied covariance inputs; interpret model-based accuracy and expected response; and explain why ranking alone does not define a breeding programme.
Continue from Practical 5 and the slides on selection on complex traits. This practical uses hypothetical growth/feed examples to introduce two-trait decisions. They are not new measurements or fitted multivariate results for the mouse dataset. All calculations use base R.
1. Define the breeding objective
Let \(u\) be a vector of additive breeding-value deviations on a fixed genetic base, and \(a\) a vector of marginal economic values in currency per trait unit. Define aggregate genetic merit
\[H=a^Tu.\]
Here growth and feed consumption are measured in kg over the same production period. A larger growth deviation is assigned a positive value; greater feed consumption is assigned a cost. These are hypothetical values chosen for teaching, not an economic assessment of a real enterprise.
Show R code
u <-rbind(A=c(growth=5,feed=6),B=c(growth=4,feed=2),C=c(growth=3,feed=1),D=c(growth=6,feed=8))a <-c(growth=2,feed=-1)stopifnot(identical(colnames(u),names(a)))H <-drop(u %*% a)knitr::kable(data.frame(candidate=rownames(u),u,objective=H,rank=rank(-H,ties.method="min")),row.names=FALSE)
candidate
growth
feed
objective
rank
A
5
6
4
3
B
4
2
6
1
C
3
1
5
2
D
6
8
4
3
Show R code
stopifnot(identical(unname(H),c(4,6,5,4)))
Question 1. Why is the candidate with the largest growth deviation not the highest-ranked candidate?
Suggested answer
Candidate D has the highest growth but also the greatest feed deviation. Candidate B has the highest objective, 6 currency units, under these weights. The objective states what is valued; a genetic evaluation supplies predictions and uncertainty about those quantities.
Figure 1: Changing the breeding objective changes candidate merit; merely changing measurement units with matching weights does not.
An objective must retain its trait units, period and reference base. Re-centering each selected cohort would obscure gain measured against the original base.
2. Specify the information used for selection
Now introduce a separate hypothetical set of measurement deviations\(x\), centered on a fixed external reference mean. These are not assumed to be the observed measurements of the preceding candidate breeding values.
Define \(P=\operatorname{Var}(x)\), \(C=\operatorname{Cov}(x,u)\) and \(G=\operatorname{Var}(u)\). Covariance matrices are supplied population moments, not estimates from four candidates. A matrix’s labels and units are part of its meaning.
Show R code
traits <-c("growth","feed")x <-rbind(A=c(growth=2,feed=1),B=c(growth=1,feed=-1),C=c(growth=-1,feed=-2),D=c(growth=3,feed=4))P <-matrix(c(4,1,1,9),2,2,dimnames=list(traits,traits))C <-diag(c(1,4)); G <-diag(c(2,5))dimnames(C) <-dimnames(G) <-list(traits,traits)stopifnot(identical(colnames(x),rownames(P)),identical(colnames(P),rownames(C)),identical(colnames(C),names(a)),identical(rownames(G),names(a)),isTRUE(all.equal(P,t(P))),isTRUE(all.equal(G,t(G))))chol(P) # Positive-definite information covariance.
growth feed
growth 2 0.50000
feed 0 2.95804
Show R code
# The supplied joint covariance must also be a coherent moment model.joint <-rbind(cbind(P,C),cbind(t(C),G))stopifnot(min(eigen(joint,symmetric=TRUE,only.values=TRUE)$values)>0)
Question 2. Why is \(C\) not automatically equal to \(G\)?
Suggested answer
Measurements and breeding values are different quantities. Their cross-covariance depends on what was measured and how it relates to genetic merit. For arbitrary predictions, using genetic covariance in place of the required prediction/merit cross-covariance can double-count or misrepresent information.
3. Solve for a linear index
Choose \(I=b^Tx\) to minimize \(E[(H-I)^2]\) under the centered moment model. Since
\[E[(H-I)^2]=a^TGa-2b^TCa+b^TPb,\]
differentiation gives \(Pb=Ca\). With positive-definite \(P\),
\[b=P^{-1}Ca.\]
Use a linear solve rather than explicitly constructing an inverse. Economic weights \(a\) define the objective; index coefficients \(b\) account for information variance and cross-covariance.
local({ old <-par(mfrow=c(1,2)); on.exit(par(old))barplot(b,col=c("#247BA0","#D8A47F"),ylab="Index coefficient")abline(h=0,col="gray50")barplot(I,col="#86B7A3",ylab="Index (currency units)")abline(h=0,col="gray50")})
Figure 2: Index coefficients reflect the covariance model; the resulting index ranks supplied measurement deviations.
Question 3. Does directly applying economic weights to measurements produce the same ranking as the index?
Suggested answer
Not necessarily. The raw score treats measurement deviations like breeding values. The index weights account for their different variances and information about genetic merit. Candidate B has the largest index under this model. This is a ranking from supplied moments, not evidence that those moments or prediction performance have been fitted correctly.
The model correlation is their covariance divided by the product of standard deviations. At the optimal index, \(\operatorname{Cov}(I,H)=\operatorname{Var}(I)\).
This is model-based accuracy given the assumed covariance inputs. It is not estimated by correlating four candidate scores with hidden truth, and it does not replace validation of fitted genetic evaluations.
5. Predict a response under explicit selection assumptions
For a jointly Gaussian \((x,u)\) population and upper-tail truncation on \(I\), selecting fraction \(f\) gives standardized intensity \(i=\phi(z)/f\), where \(z=\Phi^{-1}(1-f)\). The model mean breeding-value difference of selected candidates is
For the optimal index, objective difference is \(\Delta H=i\sqrt{\operatorname{Var}(I)}\). These distribution and selection assumptions are additional to solving the covariance equation.
Question 4. Is this automatically next-generation gain per year?
Suggested answer
No. It is the expected mean breeding-value difference of selected candidates under the model. In a simple additive, nonoverlapping-generation setting with unchanged base and no other shifts, offspring gain depends on the selected parents’ gene contributions across both roles; equal selected sire/dam means give the same predicted offspring mean difference. Annual gain additionally needs a declared generation interval. Mating, contribution limits, diversity and costs are separate decisions.
Exercises
Multiply all economic weights by 10. Which quantities change and which rankings remain?
Reverse the trait order consistently in \(x,P,C,G,a\). Verify the index is unchanged.
If only growth matters, define the objective weights and recompute the coefficients.
A positive common scaling changes objective/index units but not ranking or correlation accuracy. Consistent label reordering preserves predictions. Even when feed has zero economic weight, it can receive an index coefficient through covariance with the growth information. Information traits and objective traits need not be identical in a general index.
Package connection and next topic
gsel owns objectives, selection policies and programme design. Its current objective and index examples are base-R reference calculations, not exported scientific APIs. The objective and index examples here use the same supplied values. Fitting genetic evaluations remains with estimation tools; gsim owns biological generation.
Continue with Practical 7: Selection policies and mating plans to specify eligibility, quotas, parent contributions and mating, then evaluate gain, diversity, time and cost against a fixed reference. An index score alone does not define a breeding programme.