PlantandFoodResearch / MCHap

Polyploid micro-haplotype assembly using Markov chain Monte Carlo simulation.
MIT License
18 stars 3 forks source link

Remove use of factorial in prior probability function #124

Closed timothymillar closed 2 years ago

timothymillar commented 2 years ago

We are just taking the log of the factorial (e.g. ln(factorial(k))) which can be replaced with the log gamma function (e.g. lgamma(k+1)) which should remove any limit to k (ploidy).