Convert phylo with attached simmap to nexml object
Convert nexml object with simmap to phylo
Value
a nexml representation of the simmap
a simmap object (phylo object with a $maps
element
for use in phytools functions).
Examples
simmap_ex <- read.nexml(system.file("examples","simmap_ex.xml", package="RNeXML"))
phy <- nexml_to_simmap(simmap_ex)
nex <- simmap_to_nexml(phy)