Calculates exact error for maximum allele count for two...

The distribution of N, the number of alleles showing is calculated exactly assuming 2 contributors. Theta-correction is not implemented. The function may be used to check accuracy of simulations and indicate required number of simulations for one example.

1 | ```
N2Exact(p)
``` |

`p` |
vector of allele frequencies. Must sum to 1. Default: for uniformly distrubted alleles. |

Returns(P(N=i) for i=1,2,3,4

Thore Egeland Thore.Egeland@medisin.uio.no

1 2 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.