sim.genetree {TreeSim} | R Documentation |
sim.genetree simulates a gene tree assuming the coalescent with coalescent rate being 1. The method returns summary statistics of the gene tree.
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.
n<-10
numbsim<-2
sim.genetree(n, numbsim)