sctree: Shallowest Coalescence Tree

Description Usage Arguments Value Author(s) References See Also Examples

Description

The function computes the shallowest coalescence tree from multiple gene trees.

Usage

1
sctree(genetreevector,spname,taxaname,species.structure)

Arguments

genetreevector

a vector of gene trees

spname

the species names

taxaname

the names of taxa

species.structure

the correspondence between species and taxa

Value

The function returns the node matrix and tree string of the maximum tree. It also returns the species names.

Author(s)

Liang Liu lliu@uga.edu

References

Maddison, W. P., and L. L. Knowles. 2006. Inferring phylogeny despite incomplete lineage sorting. Syst. Biol. 55:21-30.

See Also

consense, genetree.vector

Examples

1
2
3
4
5
6
genetreevector<-c("((((H:0.2,C:0.2):0.3,G:0.5):0.9,O:1.4):0.1,W:1.5);",
"((((H:0.2,G:0.2):0.4,C:0.6):0.9,O:1.5):0.1,W:1.6);");
species.structure<-matrix(0,5,5)
diag(species.structure)<-1
name<-species.name(genetreevector[1])
sctree(genetreevector,name,name,species.structure)

bomeara/phybase documentation built on May 12, 2019, 11:35 p.m.