liamrevell / phytools

GNU General Public License v3.0
207 stars 56 forks source link

problem with extract.clade.simmap #34

Closed baptelie closed 4 years ago

baptelie commented 5 years ago

Hi, I think there is a little bug with the function extract.clade.simmap, the returned tree has the same tree$Nnode and tree$node.label attributes as the input tree.

liamrevell commented 4 years ago

$Nnode does seem to change (but give me a reproducible example if you think this is not the case).

Unfortunately, $node.label is not yet supported for the "simmap" object class. It would be good to add that in the future.