Changes

From Genome Analysis Wiki
Jump to navigationJump to search
770 bytes added ,  15:09, 8 December 2009
no edit summary
Line 13: Line 13:  
== Listing All Inheritance Vectors ==
 
== Listing All Inheritance Vectors ==
   −
To list all possible inheritance vectors,
+
The first ''2f'' entries in Mantra::vector[] correspond to the founder alleles in the pedigree. The remaining entries correspond to meiosis that, ultimately, connect each individual (directly or indirectly). To list all possible inheritance vectors, one could iterate through entries in Mantra::vector with index greater than ''2f + 1'' and consider each of two possible states for each of these. In practice, many of these inheritance vectors would be equivalent because they would imply exactly the same pattern of allele sharing between individuals in the pedigree.
 +
 
 +
As an example, consider a pedigree with two siblings and two parents. The initial contents of Mantra::vector and Mantra::state might be:
 +
 
 +
      Mantra::vector[] = { 0, 1, 2, 3, 0, 2, 0, 2 }
 +
      Mantra::state[]  = { 0, 1, 2, 3, 0, 2, 0, 2 }

Navigation menu