May
31st
2010
Mon
31st
2010
Newick TreeVisitor cheat sheet
pre_visit_tree(t) — callback called before exploring (sub-)tree t.
post_visit_tree(t) — callback called after exploring (sub-)tree t.
pre_visit_edge(src, bo,le, dst) — callback called before exploring an edge. Here src is the source node and dst is the destination node, bo is the bootstrap support of the edge and le is the length of the edge.
post_visit_edge(src, bo,le, dst) — callback called before exploring an edge. Here src is the source node and dst is the destination node, bo is the bootstrap support of the edge and le is the length of the edge.
visit_leaf(l) — callback called when exploring leaf l.