Learn R Programming

phytools (version 0.2-40)

writeNexus: Write a tree to file in Nexus format

Description

This function writes one or multiple phylogenetic trees to file in NEXUS format. Redundant with ape::write.nexus.

Usage

writeNexus(tree, file="")

Arguments

tree
object of class "phylo" or "multiPhylo".
file
file name for output.

Value

  • Trees written to file.

See Also

write.simmap, write.nexus