Learn R Programming

ggphylo (version 0.1)

tree.to.string: Converts a phylo object into a Newick-format string representation. Taken mostly from the codebase of ape.

Description

Converts a phylo object into a Newick-format string representation. Taken mostly from the codebase of ape.

Usage

tree.to.string(phy, digits = 10)

Arguments

phy,
input phylo object
digits,
the number of digits to use when formatting branch lengths

Value

string, the phylo object in a string representation