Learn R Programming

kdetrees (version 0.1.5)

as.matrix.multiPhylo: dissimilarity map tree vectorization

Description

Dissimilarity maps convert trees to vectors using tip-to-tip path lengths. Branch length information may be optionally discarded (the default), resulting in vectors based solely on tree topology.

Usage

"as.matrix"(x, ...)

Arguments

x
an ape::multiPhylo object.
...
additional options for ape::cophenetic.phylo

Value

a row matrix of tree vectors

Examples

Run this code
as.matrix(apicomplexa[1:5])

Run the code above in your browser using DataLab