TreeTools (version 0.1.3)

NewickTree: Newick Tree

Description

Writes a tree in Newick format. This differs from ape's write.tree in the encoding of spaces as spaces, rather than underscores.

Usage

NewickTree(tree)

Arguments

tree

A tree of class phylo.

Value

NewickTree returns a character string denoting tree in Newick format.

See Also

as.Newick

Examples

Run this code
# NOT RUN {
NewickTree(BalancedTree(6))

# }

Run the code above in your browser using DataLab