I can't find in the documentation a way of recursively traversing a phylogenetic tree object as returned by
seqlinkage built-in function. What I want to do is something like:
function f(node = root initially)
if node is not a leaf:
a = f(node.left_child)
b = f(node.right_child)
I didn't find something similar to this conventional way of traversing trees (node > children ..) in the documentation.