Convert an "ape" tree to an "ouch" tree.

Share:

Description

ape2ouch translates ape's phylo representation of a phylogenetic tree into ouch's ouchtree representation. The user can change the branch lengths while preserving the topology.

Usage

1
ape2ouch(tree, scale = TRUE, branch.lengths = tree$edge.length)

Arguments

tree

a tree of class phylo created in package ape.

scale

if scale=TRUE, the tree's depth will be scaled to 1. If scale is a number, then the branch lengths will be scaled by this number.

branch.lengths

optional vector of branch lengths.

Author(s)

Aaron A. King <kingaa at umich dot edu>