BioFSharp
BioFSharp copied to clipboard
[BUG] Hypergeometric Distribution CDF update will change input
Describe the bug
Found that FSharp.Stats.Distributions.hypergeometric(..).CDF is float -> float, whereas the input k (the number of drawn success events) should be int, therefore int -> float.
Found here:
https://github.com/CSBiology/BioFSharp/blob/08618f777f36fb758bdb5b7a903622324fe6ba85/src/BioFSharp.Stats/OntologyEnrichment.fs#L88
Will be changed in FSharp.Stats somewhere in the future.