Write a phylogenetic tree as inferred by VERSO to a newick format file.

write.newick.tree(phylogenetic_tree, phylogeny_file = "phylogenetic_tree.new")

Arguments

phylogenetic_tree

Inference results by VERSO.

phylogeny_file

File where to save the phylogenetic tree in newick format.

Value

A phylogenetic tree as inferred by VERSO in newick format.

Examples

data(inference)
write.newick.tree(phylogenetic_tree = inference, 
                  phylogeny_file = "inference_tree.new")