williamslab / ped-sim

Pedigree simulator
GNU General Public License v3.0
25 stars 11 forks source link

Random distribution? #11

Closed mjpeach closed 5 years ago

mjpeach commented 5 years ago

https://github.com/williamslab/ped-sim/blob/20d921b4cbfe53127eecd8bc3c1bd79c9e0f1230/cointerfere.cc#L59

The resulting Crossover Interval should have a mean of 100cM; if the distribution about this were triangular and extended 100cM, the resultant PDF will be a horizontal line i.e. a Random distribution. As the Poisson distribution has a bell-shape, and assuming the tails extend to 100cM, the resultant distribution will be essentially a Random one with a ripple superimposed?