LBG - FS2024 – Exercise 7
Problem 1: Inverse Numerator Relationship Matrix
The following pedigree is given
The pedigree can be read from the file:
Compute the inverse numerator relationship matrix \(A^{-1}\) for the given pedigree.
Solution
- Read data
- Extend the pedigree
- Compute inverse numerator relationship matrix using the rule taken from section 5.6.4 of the course notes. The diagonal elements of matrix \(D\) is taken from
pedigreemm::Dmat
- Initialize matrix
- Go through pedigree and fill in matrix
- Check the result with pedigreemm