sim.genetree: sim.genetree: Simulating coalescent gene trees.

Description Usage Arguments Value Author(s) References Examples

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

1
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

1
2
3
4
n<-10
numbsim<-2

sim.genetree(n, numbsim)

TreeSim documentation built on May 2, 2019, 3:23 a.m.