knitr::opts_chunk$set(echo = TRUE)
# rmdhelp::show_knit_hook_call()
knitr::knit_hooks$set(hook_convert_odg = rmdhelp::hook_convert_odg)

Problem 1: Breeding Programs

What are the components of a breeding program. Insert the components into the following diagram.

#rmdhelp::use_odg_graphic(ps_path = "odg/empty-bp-diagram.odg")
knitr::include_graphics(path = "odg/empty-bp-diagram.png")

Solution

A breeding program consists of the following components.

The completed version of the above diagram looks as follows

#rmdhelp::use_odg_graphic(ps_path = "odg/solution-bp-diagram.odg")
knitr::include_graphics(path = "odg/solution-bp-diagram.png")

Problem 2: Performance Test

b_p02 <- 0.75
h2_p02 <- 0.25
bull_age_p02 <- 12
gest_len_p02 <- 9
afc_p02 <- 27

In a traditional dairy cattle breeding program, sires are selected based on the predicted breeding values based on the performance of their daughters. For a solid selection decision, we want that the reliability ($B$) to be greater than $r b_p02$. The reliability of a predicted breeding value can be approximated by the following formula.

$$B = \frac{n}{n+k}$$ where $n$ stands for the number of daughters and $k$ corresponds to the term $(4-h^2)/h^2$. The variable $h^2$ is the heritability of the trait under investigation. For our example we assume that $h^2 = r h2_p02$.

Your Task

Solution

The minimum number of daughters can be computed as shown below.

k_p02 <- (4-h2_p02) / h2_p02
n_p02 <- b_p02 * k_p02/(1-b_p02)

$$k = \frac{4-h^2}{h^2} = \frac{4 - r h2_p02}{r h2_p02} = r k_p02$$

$$B = \frac{n}{n+k}$$ $$B(n+k) = n$$ $$Bk = n - Bn$$ $$Bk = n(1-B)$$ $$n = \frac{Bk}{(1-B)} = \frac{r b_p02 * r k_p02}{1 - r b_p02} = r n_p02$$

The time that it takes from the birth of a bull calf to the publication of the predicted breeding value based on daughter performance consists of the following time components.

age_test_result <- bull_age_p02 + gest_len_p02 + afc_p02

In total this makes r age_test_result months. It must be noted that this is the minimum time requirement. It can only be achieved, if the semen from the young test bull can be used all at the same time. This can only happen, if there are enough farmers willing to inseminate the cows with the test bull.



charlotte-ngs/rteachtools documentation built on Sept. 21, 2023, 4:20 p.m.