powered by
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)
Number of extant sampled tips.
Number of trees to simulate.
For each simulated gene tree the following statistics are returned: "Colless","s","Sackin","cherries".
T. Stadler, J. Degnan, N. Rosenberg. Manuscript.
# NOT RUN { n<-10 numbsim<-2 sim.genetree(n, numbsim) # }
Run the code above in your browser using DataLab