LBG - FS2024 – Exercise 2
Problem 1: Single Locus Genotypic Values
Use the dataset with genotypes of a single locus G
and with phenotypic observations of a quantitative trait (y
) to get estimates of the parameters \(a\) and \(d\) used for genotypic values for locus G
. The dataset is available at:
https://charlotte-ngs.github.io/lbgfs2024/data/geno_val_single_loc.csv
- Filter homozygous genotypes from dataset
- Fit regression model on homozygous genotypes
- The parameter \(a\) is the mean of the absolute values of the estimates for Intercept and for the regression slope.
- The estimate for parameter \(d\) is the mean if the heterozygous genotypes corrected for the sum of the intercept and the slope.