Dear list, Has anybody come across a way to read-in a tree in the "ToL Response Format" or in treeML format--both XML formats? I should be more specific: by read-in I mean convert into some useful R class (e.g. ape's phylo). Forgive me if I have missed an obvious function in one of the many packages.
Here are two example outputs that I would like to be able to use: ToL Response Format http://tolweb.org/onlinecontributors/app?service=external&page=xml/TreeStructureService&node_id=26391&optype=0 treeML http://tolweb.org/onlinecontributors/app?service=external&page=xml/TreeStructureService&node_id=26391&optype=1 If no function exists, I could imagine using scan() and then somehow converting the XML to a Newick format, or perhaps an "edge" matrix as used by phylo? There is probably a more elegant method! All suggestions are most appreciated! Thanks for the help-- Andy Rominger [[alternative HTML version deleted]] _______________________________________________ R-sig-phylo mailing list R-sig-phylo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-phylo