dendToNewick: Convert a list data structure to Newick format

Description Usage Arguments Value See Also Examples

View source: R/make_dend_utility_functions.R

Description

This function traverses the dendogram to build the character string that represents the dendrogram in Newick format.

Usage

1
dendToNewick(dend, sep = "-")

Arguments

dend

A list of nodes that represents the nested partition of haplotypes.

sep

A separator for haplotype names in the same clade. See the arguments in reconstructPP.

Value

A character string in Newick format.

See Also

makeDend

Examples

1


perfectphyloR documentation built on March 8, 2021, 9:06 a.m.