From Genome Analysis Wiki
Jump to navigationJump to search
69 bytes added
, 15:00, 6 February 2015
Line 31: |
Line 31: |
| where <math>a_1</math>, <math>a_2</math> .. <math>a_P</math> are the alleles in numeric encoding (0 to A-1) and are ordered (AB, ABCCCC). For example ACB is not ordered. | | where <math>a_1</math>, <math>a_2</math> .. <math>a_P</math> are the alleles in numeric encoding (0 to A-1) and are ordered (AB, ABCCCC). For example ACB is not ordered. |
| | | |
− | This works also because: | + | This is well defined by defining: |
| | | |
| <math> | | <math> |
| \begin{align} | | \begin{align} |
− | G(a_1,.. , a_P) = \sum_{k=1}^P \binom{k+a_k-1}{a_k-1}
| + | \binom{n}{r} = \begin{cases} |
| + | \frac{n!}{(n-r)!r!} &, r \le n, r\ge0, n\ge0 \\ |
| + | 0 & \text{otherwise} |
| + | \end{cases} |
| \end{align} | | \end{align} |
| </math> | | </math> |