From Genome Analysis Wiki
Jump to navigationJump to search
102 bytes added
, 11:40, 31 January 2015
Line 93: |
Line 93: |
| <math> | | <math> |
| \begin{align} | | \begin{align} |
− | G(a_1,.. , a_P) &= \| \{ \text{genotypes of a_P alleles for ploidy P} \} \| \\ | + | G(a_1,.. , a_P) &= \| \{\text{genotypes of } a_P \text{ alleles for ploidy P}\} \| + G(a_1,.. , a_{P-1})\\ |
| &= F(a_P, P) + G(a_1,..,a_{P-1}) | | &= F(a_P, P) + G(a_1,..,a_{P-1}) |
| \end{align} | | \end{align} |
| </math> | | </math> |
| + | |
| + | |
| + | This gives a recursive relationship that is a chain of P-1 calculations. |
| | | |
| = Algorithm for enumerating the genotypes given A ploidy and alleles = | | = Algorithm for enumerating the genotypes given A ploidy and alleles = |