Skip to main content
Advertisement

< Back to Article

Inferring the ancestry of parents and grandparents from genetic data

Fig 4

Faster calculation of the probabilities of ACs.

Red lines break the transition probability matrix into four smaller pieces (for ACs with length 2). The probability vector at the previous site is broken into two pieces. Multiplication of the matrix and the vector is faster due to shared parts between these pieces.

Fig 4

doi: https://doi.org/10.1371/journal.pcbi.1008065.g004