pair.dist: Calculate all pairwise distances among taxa in the tree

Description Usage Arguments Value Author(s) See Also Examples

Description

The function computes all pairwise distances among taxa in the tree.

Usage

1
pair.dist(nodematrix, nspecies)

Arguments

nodematrix

the tree node matrix

nspecies

the number of taxa in the tree

Value

The function returns a distance matrix.

Author(s)

Liang Liu lliu@uga.edu

See Also

treedist, upgma, maxtree

Examples

1
2
3
treestr<-"((((H:0.00402,C:0.00402):0.00304,G:0.00705):0.00929,O:0.01635):0.1,W:0.11635);"
nodematrix<-read.tree.nodes(treestr)$nodes
pair.dist(nodematrix,5)

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