powered by
A function that provides a simple starting off point to simulate a coalescent process.
coal(length, number, muscale, reps, prnt)
Length of sequence to simulate.
Number of starting lineages.
Mutation rate, scaled by 4Neu.
Number of replicates to run.
Whether to print calculation output to the terminal (prnt=1), or not (prnt=0).
# NOT RUN { #assign genotype counts length=250 number=8 muscale=6.25 # theta = 4Neu = 25, theta/4 = 6.25 reps=100 prnt=0 #run function coal(length, number, muscale, reps, prnt) # }
Run the code above in your browser using DataLab