Learn R Programming

phytools (version 1.2-0)

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="")

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. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.

See Also

write.simmap, write.nexus