Learn R Programming

phytools (version 0.2-70)

export.as.xml: Export trees & data in XML format

Description

This function exports trees & character data in XML format.

Usage

export.as.xml(file, trees, X)

Arguments

file
filename for export.
trees
a phylogenetic tree or trees in "phylo" or "multiPhylo" format.
X
a matrix of class "DNAbin" or a matrix with discretely valued non-DNA character data.

Value

  • A file.

Details

Can be used to create input file for the program SIMMAP v1.5 (Bollback 2006), also see: http://www.simmap.org.

References

Bollback, J. P. (2006) Stochastic character mapping of discrete traits on phylogenies. BMC Bioinformatics, 7, 88.

See Also

make.simmap, read.nexus, read.simmap, write.simmap