as.character.phylo: Turns a phylo object into a Newick format string...

Description Usage Arguments Value

Description

Turns a phylo object into a Newick format string representation, including NHX annotations if the tree contains any tags.

Usage

1
2
3
  ## S3 method for class 'phylo'
 as.character(phylo, digits = 10,
    ignore.tags = F)

Arguments

phylo

input phylo object

digits

integer, the number of digits to output when formatting branch lengths

ignore.tags

boolean, whether or not to ignore tags when creating the Newick / NHX string. When FALSE, tags will be included in the string as NHX annotations.

Value

character string representing the phylo object


gjuggler/ggphylo documentation built on May 17, 2019, 6:05 a.m.