convert.to.tree: Create a phylogenetic tree from an ultrametric

View source: R/convert.to.tree.R

convert.to.treeR 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)

TML documentation built on Sept. 11, 2024, 6:19 p.m.