Description Usage Arguments Author(s) Examples
Draw 3 simulation summary plots on the same screen (loci.over.time, anc.est.plot, fixation.endpoints).
1 | sim.summary.plot(fr, g = NULL, hilite.locus = NULL)
|
fr |
Data frame from a simulation. |
g |
Generation to plot in anc.est.plot and fixation.endpoints, and generation to emphasize in loci.over.time. NULL means the last generation in the simulation. |
hilite.locus |
Locus to highlight in the plots. NULL means choose an interesting locus under positive selection. |
Toby Dylan Hocking <toby.hocking@etu.upmc.fr>
1 2 3 4 | library(nicholsonppp)
sim <- sim.drift.selection()
df <- sim2df(sim)
sim.summary.plot(df,ceiling(sim$p$gen/3*2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.