Description Usage Arguments Value Author(s) References Examples
sim.genetree simulates a gene tree assuming the coalescent with coalescent rate being 1. The method returns summary statistics of the gene tree.
1 | sim.genetree(n, numbsim)
|
n |
Number of extant sampled tips. |
numbsim |
Number of trees to simulate. |
statistics |
For each simulated gene tree the following statistics are returned: "Colless","s","Sackin","cherries". |
Tanja Stadler
T. Stadler, J. Degnan, N. Rosenberg. Manuscript.
1 2 3 4 | n<-10
numbsim<-2
sim.genetree(n, numbsim)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.