ape (version 2.5-3)

write.nexus: Write Tree File in Nexus Format

Description

This function writes trees in a file with the NEXUS format.

Usage

write.nexus(..., file = "", translate = TRUE, original.data = TRUE)

Arguments

Value

None (invisible `NULL').

Details

If original.data = TRUE, the file as specified by the attribute "origin" of the first tree is read and its data (except the trees) are written in file.

If several trees are given, they must have all the same tip labels.

If among the objects given some are not trees of class "phylo", they are simply skipped and not written to the file.

References

Maddison, D. R., Swofford, D. L. and Maddison, W. P. (1997) NEXUS: an extensible file format for systematic information. Systematic Biology, 46, 590--621.

See Also

read.nexus, read.tree, write.tree, read.nexus.data, write.nexus.data