A connection or a character string naming the file path where the tree should be exported. If "" (the default), the tree is printed to the standard output connection, the console unless redirected by sink.
quoteLabels
Logical specifying whether to place leaf labels in double quotes.
convertBlanks
Logical specifying whether to convert spaces in leaf labels to underscores.
internalLabels
Logical indicating whether to write any ``edgetext'' preceding a node as an internal node label.
digits
The maximum number of digits to print for edge lengths.
append
Logical indicating whether to append to an existing file. Only applicable if file is a character string. If FALSE (the default), then the file is overwritten.
Value
NULL.
Details
WriteDendrogram will write a dendrogram object to a file in standard Newick format. Note that special characters (commas, square brackets, colons, semi-colons, and parentheses) present in leaf labels will likely cause a broken Newick file unless quoteLabels is TRUE (the default).