Learn R Programming

phytools (version 2.3-0)

writeNexus: Write a tree to file in Nexus format

Description

Writes one or multiple phylogenetic trees to file in NEXUS format.

Somewhat redundant with write.nexus.

Usage

writeNexus(tree, file="")

Value

Trees written to file.

Arguments

tree

object of class "phylo" or "multiPhylo".

file

file name for output.

Author

Liam Revell liam.revell@umb.edu

References

Revell, L. J. (2024) phytools 2.0: an updated R ecosystem for phylogenetic comparative methods (and other things). PeerJ, 12, e16505.

See Also

write.simmap, write.nexus