Knowledge Hub · Biodiversity and Breeding programs

Breeding and Genetics

The quantitative-genetics foundations of animal and plant breeding: how traits are inherited, how we estimate heritability and breeding values, and how genomic data sharpen prediction, with hands-on analyses in R.

★ Self-paced⏱ ~8 hours🎓 MSc / advanced📊 R practicals🔓 CC0 open licence
About this course. ASAP-Bio provides the structured study path below. The full lecture notes, practicals and R solutions are by Peter Sørensen (Center for Quantitative Genetics and Genomics, Aarhus University), released under a CC0-1.0 public-domain dedication. Each part of the path ends with a green box linking to the matching original material. Source repository: github.com/psoerensen/bgcourse.

What you will learn

  • Describe how breeding programmes turn genetic variation into genetic gain.
  • Decompose a phenotype into genetic and environmental components and define heritability.
  • Estimate genetic parameters (heritabilities, correlations) using mixed models.
  • Estimate breeding values with BLUP and the animal model.
  • Extend prediction to genomic breeding values (GBLUP and marker models).
  • Carry out quantitative-genetic analyses in R.

Course contents

1

Introduction to plant and animal breeding

~45 minutes

By the end you can

  • State what a breeding programme is and what a breeding goal does.
  • Describe the breeder’s cycle: variation, evaluation, selection, mating.

Breeding is the directed improvement of populations across generations. A programme starts from a breeding goal (the traits to improve and their relative economic or societal weights), then repeats a cycle: measure phenotypes, estimate each candidate’s genetic merit, select the best as parents, and mate them to produce the next generation. Plant and animal breeding share this logic, differing mainly in reproductive biology, generation interval and how populations are structured.

Genetic gain per cycle depends on how intensely we select, how accurately we rank candidates, how much genetic variation exists, and how long a generation takes, the same levers explored in the companion genomic-selection course and simulator.

Those levers are summarised in the equation that runs through the whole course, ΔG = (i · r · σA) / L: genetic gain per year rises with selection intensity (i), the accuracy of evaluation (r) and the additive variation available (σA), and falls with the generation interval (L). Plant and animal breeders pull the same levers but in different ways: plants often allow many offspring, self-pollination and rapid cycling, whereas animals have long generation intervals and few offspring per dam, which is why reproductive technologies and, later, genomic prediction matter so much for raising the rate of gain in livestock.

Check: why is a clearly defined breeding goal the first step of any programme?
Because every later decision, which traits to record, how to weight them in an index, which animals to select, follows from the goal. Without it, selection has no consistent direction and traits can drift or deteriorate.
📘Go to detailed materials →Brief Introduction to Plant and Animal Breeding (PDF · Peter Sørensen)
2

Basic concepts in quantitative genetics

~70 minutes

By the end you can

  • Decompose phenotype into genetic and environmental parts.
  • Define additive variance, breeding value and heritability.
  • Explain why relatives resemble each other.

Quantitative traits (growth, milk yield, disease resistance) are shaped by many genes of small effect plus the environment, the infinitesimal model. The core decomposition is P = G + E: an individual’s phenotype is its genotypic value plus an environmental deviation. The genotypic value splits further into additive (transmissible), dominance and epistatic parts. The additive value is the breeding value, what a parent passes on, and is the currency of selection.

At the population level, variance partitions the same way: total phenotypic variance VP = VA + VD + VE (and more). Heritability in the narrow sense, h² = VA/VP, is the fraction of phenotypic variation that is additive and therefore responds to selection. Relatives resemble one another because they share alleles; the degree of resemblance (covariance between relatives) is what lets us estimate genetic parameters and breeding values.

PhenotypeP (V_P) = GenotypeG (V_A + V_D + ...) + EnvironmentE (V_E) h² =V_A / V_P The additive part (breeding value) is what parents transmit and what selection acts on.
The central decomposition of quantitative genetics, and heritability as the additive share of phenotypic variance.

The key quantity is the average effect of an allele: the mean deviation an allele confers when passed to offspring, averaged over the genotypes it meets in the population. An individual’s breeding value is simply the sum of these average effects over all its loci, which is why it is population-specific and why it, not the genotypic value, predicts the performance of progeny. Relatives resemble one another because they share alleles identical by descent, so the covariance between relatives is a known fraction of the additive variance (one-half between parent and offspring, one-quarter between half sibs). Turning that around, the observed resemblance among relatives is exactly what lets us estimate the additive variance and heritability from data.

Check: a trait has h² = 0.1. What does that tell a breeder?
Only 10% of the phenotypic variation is additive genetic, so individual phenotypes are weak predictors of breeding value. Progress is still possible but needs more information (relatives, repeated records, genomics) and/or higher selection intensity; response per generation will be modest.
📘Go to detailed materials →Basic Concepts in Quantitative Genetics (PDF · Peter Sørensen)
3

Estimation of genetic parameters

~60 minutes

By the end you can

  • Explain how heritabilities and genetic correlations are estimated.
  • Describe variance-component estimation with mixed models (REML).

Before we can predict breeding values we need the genetic parameters: heritabilities, and genetic and environmental (co)variances among traits. These are estimated from the resemblance between relatives, using mixed models that separate fixed effects (herd, year, sex) from random genetic effects. The standard estimation method is REML (restricted maximum likelihood), which estimates variance components (VA, VE, and others) from the data and pedigree or genomic relationships.

Genetic correlations matter because traits are not independent: selecting hard on one trait drags correlated traits along, sometimes unfavourably. Reliable parameters are the foundation of both selection-index design and BLUP evaluation.

In practice the variance components are estimated by REML rather than older analysis-of-variance formulae, because REML handles the unbalanced, selected and overlapping-generation data that real herds produce and gives estimates that do not depend on the fixed effects in the model. Reliable estimates need large, well-connected datasets: animals must be linked across herds and years through shared sires and relatives, or the genetic and environmental effects cannot be separated. Estimates come with standard errors that shrink as data accumulate, and the same machinery yields not just heritabilities but the genetic, phenotypic and environmental correlations among traits that a multi-trait index needs. A classic, economically important example is the unfavourable genetic correlation between milk yield and fertility in dairy cattle, which decades of single-trait selection for yield made worse before balanced indexes corrected course.

Check: why does a breeder need genetic correlations, not just heritabilities?
Because selection on one trait changes correlated traits too. A favourable genetic correlation gives a free bonus; an unfavourable one (for example, between yield and fertility) means single-trait selection can erode another important trait. Multi-trait indexes need the correlations to balance the goal.
📘Go to detailed materials →Estimation of Genetic Parameters (PDF · Peter Sørensen)
4

Estimation of breeding values (BLUP)

~70 minutes

By the end you can

  • Explain BLUP and the animal model.
  • Say how the pedigree relationship matrix and information sources drive accuracy.

To rank selection candidates we estimate their breeding values. The standard tool is BLUP (best linear unbiased prediction) in the animal model, y = Xb + Zu + e, which simultaneously corrects for fixed effects and predicts each animal’s additive genetic merit u. BLUP combines every available record, the animal’s own, its relatives’, across generations, weighting them by the pedigree relationship matrix A and the genetic parameters from Module 3.

The prediction’s accuracy (correlation between estimated and true breeding value) rises with heritability and with the amount of information on the animal and its relatives. BLUP’s great strength is that it accounts for selection, non-random mating and unbalanced data, which is why it underpins national genetic evaluations.

Phenotypes +fixed effects Relationshipspedigree A (or genomic G) BLUP / animalmodel (MME) Breedingvalues + accuracy
BLUP combines records, fixed effects and relationships to estimate each candidate’s breeding value.

BLUP is solved through the mixed-model equations, which combine the records, the design matrices for fixed and random effects, and the inverse of the relationship matrix into one linear system whose solution gives the fixed-effect estimates and the predicted breeding values together. Its named properties matter in practice: predictions are unbiased, use all available information, and remain valid under selection and assortative mating provided the data that drove those decisions are included. Animals are compared within contemporary groups (herd-year-season), so management differences are absorbed rather than mistaken for genetics. Each EBV is reported with a reliability or accuracy that tells the breeder how far to trust it, low on a young animal with few records, high on a proven one, the figure a buyer should read alongside the EBV itself.

The relationship matrix A is itself built from the pedigree by the tabular method, processing animals in birth order so that each animal’s relationship to all others is the average of its parents’ relationships, and its inbreeding is half the relationship between its sire and dam. A has useful structure, its inverse can be written down directly from the pedigree without inverting a large matrix, which is what makes national BLUP evaluations of millions of animals computationally feasible. Breeding values can also be updated directly as new records arrive, rather than re-solving from scratch, so evaluations are refreshed routinely. These properties are not mere technicalities: they are why pedigree-based prediction scales, and they carry straight over to the genomic relationship matrix in the next module.

Check: what does the relationship matrix A contribute to a BLUP evaluation?
It tells the model how genetically similar animals are, so information flows between relatives. That lets an animal’s breeding value borrow strength from its parents, sibs and progeny, and corrects estimates for the genetic merit of the animals it is compared with.
📘Go to detailed materials →Estimation of Breeding Values (PDF · Peter Sørensen)
5

Estimation of genomic breeding values

~70 minutes

By the end you can

  • Explain how genomic markers replace or augment pedigree.
  • Describe GBLUP and marker (ridge / Bayesian) models.

Dense SNP markers let us measure relationships and gene effects directly. In GBLUP, the pedigree matrix A is replaced (or blended, single-step) with a genomic relationship matrix G built from markers, capturing the realised sharing of DNA between animals rather than its pedigree expectation. Equivalently, one can fit all marker effects at once with ridge regression / SNP-BLUP or Bayesian models that allow markers to differ in effect.

Genomic prediction gives accurate breeding values on young animals before they have records or progeny, shortening the generation interval and accelerating genetic gain. Accuracy depends on the size and relatedness of the reference population and the trait’s heritability. This module connects directly to the companion course Breeding programs with Genomic selection, which covers reference-population design and the accuracy equation in depth.

Genomic prediction works because dense markers are in linkage disequilibrium with the unknown causal genes, so a marker effect estimated in a reference population of genotyped-and-phenotyped animals carries over to relatives that share the same haplotypes. The accuracy of the prediction rises with the size and relatedness of that reference population and with the trait’s heritability, which is why pooling data across herds and countries is so valuable for numerically small breeds. In modern national evaluations the pedigree and genomic relationships are usually combined in a single-step approach (ssGBLUP) that blends the A and G matrices, so genotyped and non-genotyped animals are evaluated together on one scale. The headline benefit is unchanged: accurate breeding values on young animals before they have records, which shortens the generation interval and accelerates gain, the central theme of the companion genomic-selection course.

Check: what is the key practical advantage of a genomic breeding value over a pedigree-only one?
It can be computed accurately on a young animal with no phenotype or progeny of its own, using only its DNA and a trained reference population. Selecting earlier shortens the generation interval and speeds genetic gain.
📘Go to detailed materials →Estimation of Genomic Breeding Values (PDF · Peter Sørensen)
6

Statistical analysis of quantitative traits in R, and practicals

~3 hours hands-on

By the end you can

  • Read and explore quantitative-genetic data in R.
  • Fit linear and mixed models, estimate variance components, and run genomic prediction.

The course is built around hands-on computing in R. The guide and practicals walk through importing data, fitting linear and mixed models, estimating heritabilities and breeding values, and carrying out genomic prediction, the methods of Modules 2 to 5 applied to real data. Work through the practicals in order; full R solutions are provided so you can check yourself.

R is used because it is free, runs on any computer, and brings statistical modelling, matrix algebra and graphics into one reproducible script, so an analysis can be re-run and audited rather than clicked through once. The practicals lean on R’s linear- and mixed-model tools and on the matrix operations behind BLUP and GBLUP, building the habit of inspecting data, fitting a model and checking assumptions before trusting a result. Learning to compute these estimates yourself, rather than treating the software as a black box, is what lets a breeder diagnose a strange result and adapt the method to a new dataset.

📘Go to detailed materials →Using R for Statistical Analyses of Quantitative Traits (guide) (PDF · Peter Sørensen)📘Go to detailed materials →Practicals 1–4 (combined) (PDF · Peter Sørensen)📘Go to detailed materials →R solutions (Practicals 1–2–3) (PDF · Peter Sørensen)

Individual practicals: Practical 1 · Practical 2 · Practical 3 · Practical 4 · R solutions (1–2).

7

Glossary & credits

~5 minutes

Glossary

Phenotype (P), the observed trait value; P = G + E.
Breeding value, the additive (transmissible) genetic merit of an individual.
Heritability (h²), the additive share of phenotypic variance, V_A / V_P.
Genetic correlation, the correlation of breeding values for two traits.
REML, restricted maximum likelihood, used to estimate variance components.
BLUP, best linear unbiased prediction of breeding values (animal model).
Relationship matrix (A / G), pedigree-based (A) or genomic (G) genetic similarity.
GBLUP, BLUP using the genomic relationship matrix.
Reference population, genotyped and phenotyped animals used to train genomic prediction.

Recommended FAO Academy course

For a complementary, application-oriented treatment of the same principles, the FAO Aquaculture breeding and genetics course works through the design and practice of genetic-improvement programmes, selection, inbreeding management and breeding-programme structure, in a different production setting, which throws the shared quantitative-genetic logic into relief.

FAO · Aquaculture breeding & genetics →

Credit. Lecture notes, practicals and R solutions by Peter Sørensen, Center for Quantitative Genetics and Genomics, Aarhus University, released under CC0-1.0. The detailed-materials links in each module open Peter’s original files; source repository: github.com/psoerensen/bgcourse.
📥Course notes (PDF downloads)18 open-access reference notes selected for this course · individual PDFs
Ministry of Foreign Affairs of Denmark Danida Fellowship Centre
The project is funded by the Ministry of Foreign Affairs of Denmark and managed by Danida Fellowship Centre.
DANIDA Knowledge and Innovation Programme (KIP) 2025.