From Genome Analysis Wiki
Jump to navigationJump to search
56 bytes added
, 10:02, 19 May 2015
Line 73: |
Line 73: |
| | | |
| There must always be P observed alleles and there can only be at most A alleles. This can be modeled by P+A-1 points where you choose A-1 points to be dividers that separate the alleles. | | There must always be P observed alleles and there can only be at most A alleles. This can be modeled by P+A-1 points where you choose A-1 points to be dividers that separate the alleles. |
− | Thus the number of ways you can observe this is <math> \binom{P+A-1}{A-1} </math>. | + | Thus the number of ways you can observe this is <math> \binom{P+A-1}{A-1} </math> which is equivalent to <math> \binom{P+A-1}{P} </math>. |
| | | |
| = Derivation for getting the index of a genotype in an enumerated list = | | = Derivation for getting the index of a genotype in an enumerated list = |