Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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.

Details

Can be used to create input file for the program SIMMAP v1.5 (Bollback 2006).

Value

A file.

Author(s)

References

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

Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.

See Also


phytools

Phylogenetic Tools for Comparative Biology (and Other Things)

v0.7-70
GPL (>= 2)
Authors
Liam J. Revell
Initial release
2020-9-19

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.