Learn R Programming

phytools (version 0.1-9)

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 (Bollback 2006).

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