Learn R Programming

phytools (version 0.7-20)

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.

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