phylo2MRP: Create a matrix representing a tree

Description Usage Arguments Value Author(s) Examples

View source: R/phylo2MRP.R

Description

The distance from the root for each tip in a tree.

Usage

1
phylo2MRP(phy)

Arguments

phy

A ‘phylo’ object.

Value

A matrix with rows = number of tips on tree and columns = number of nodes.

Author(s)

Samuel Brown <s_d_j_brown@hotmail.com>

Examples

1
2
3
4
data(dolomedes)
doloTr <- nj(dist.dna(dolomedes))

phylo2MRP(doloTr)

spiderDev documentation built on May 2, 2019, 5:23 p.m.