Hi Nick,
Nick Matzke wrote on 15/09/2011 05:21:
Ah! Victory is mine. Phylobase does was I was thinking of (/learned in
some class) as postorder -- APE is doing something else with
"pruningwise". Probably this ambiguity in terminology should be noted
somewhere for the innocent.
I thought you w
Ah! Victory is mine. Phylobase does was I was thinking of
(/learned in some class) as postorder -- APE is doing
something else with "pruningwise". Probably this ambiguity
in terminology should be noted somewhere for the innocent.
The three labelings of internal nodes...
=
t
Thanks...here's the code. However, it looks like the output
I am processing does not actually come with post-order
labeling.
I.e., in the 2nd plot below:
node 1 should be labeled 1
node 10 should be labeled 2
node 2 should be labeled 3
node 14 should be labeled 4
node 3 should be labeled 5
..
Hi Nick.
If you use the function reorder.phylo(...,order="pruningwise") the
resultant tree edge matrix is suitable for post-order traversal (i.e.,
the daughters always precede the parents in top-to-bottom matrix
traversal). This might be helpful for what you would like to do - for
instance i
Hi all,
To display the node reconstructions from another program in
APE, I need to label my internal nodes as they would be
labeled in a post-order tree traversal.
Is there an easy way/function to do this somewhere, or do I
have to write my own tree-traversing functions?
Cheers,
Nick
--