Custom SVG attributes with ETE
Is there a way to add attributes to the SVG output of the ETE tree drawing toolkit?
I am drawing phylogenetic trees as svg and would like to add the NCBI taxonomy ID as ID attribute to the node in the SVG. This would let me select them easily with java script, when using the SVG in a html page.
• 2,242 views
•
link
1 answer
Unfortunately this is not possible. The closest you can get is to generate a png image and use the pixel map dictionary returned by the tree.render() function.
• 0 views
•
link
Log in to answer this question.