writeNexus: Write a tree to file in Nexus format

View source: R/writeNexus.R

writeNexusR Documentation

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

Arguments

tree

object of class "phylo" or "multiPhylo".

file

file name for output.

Value

Trees written to file.

Author(s)

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


phytools documentation built on June 22, 2024, 10:39 a.m.