Description Usage Arguments Value Examples
This function allows you to simulate the change in allelic frequencies due to random drift in a Wright-Fisher model
1 | sim.drift(n.pop,n,freq,n.gen,n.loci,n.time,s.plot,s.table)
|
n.pop |
Number of effective population [Default:25] |
n |
Ploidy: Haploid=1, Diploid=2... [Default:1] |
freq |
initial frequency of allele (0-1) [Default:0.5] |
n.gen |
Number of generations to simulate [Default:100] |
n.loci |
Number of genes/loci tested [Default:1] |
n.time |
Number of simulations to perform [Default:1] |
s.plot |
Save the image of plot? (TRUE/FALSE) [Default:FALSE] |
s.table |
Save value table as tab delimited file? (TRUE/FALSE) [Default:FALSE] |
Frequency Plots. If save is true, image and tabel text file are saved in working dierctory.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.