Last data update: 2014.03.03
|
R: sim.genetree: Simulating coalescent gene trees.
sim.genetree | R Documentation |
sim.genetree: Simulating coalescent gene trees.
Description
sim.genetree simulates a gene tree assuming the coalescent with coalescent rate being 1. The method returns summary statistics of the gene tree.
Usage
sim.genetree(n, numbsim)
Arguments
n |
Number of extant sampled tips.
|
numbsim |
Number of trees to simulate.
|
Value
statistics |
For each simulated gene tree the following statistics are returned: "Colless","s","Sackin","cherries".
|
Author(s)
Tanja Stadler
References
T. Stadler, J. Degnan, N. Rosenberg. Manuscript.
Examples
n<-10
numbsim<-2
sim.genetree(n, numbsim)
Results
|