convert.to.tree {TML} | R Documentation |
Create a phylogenetic tree from an ultrametric
Description
This function constructs a phylogenetic tree from an ultrametric.
Usage
convert.to.tree(n, L, u)
Arguments
n |
is the number of leaves |
L |
is a vector of labels (strings) of leaves |
u |
is an ultrametric |
Value
A phylogenetic tree of class phylo
Author(s)
Ruriko Yoshida ryoshida@nps.edu
Examples
um<-Sim_Trees21[1,]
ll <- 10
L <- LETTERS[1:10]
tr<-convert.to.tree(ll, L, um)
[Package TML version 2.3.0 Index]