Hello everyone,
I am working with a large tree with ~450 tips. Some leaves are
redundant as the organisms come from same Genus. I would like to be
able to replace the redundant clades with a single leaf representative
of the members of the clade.
For example, if I have:
library(ape)
myNewick =
Hello Ania,
See the functions drop.tip and bind.tree. They both have an 'interactive'
option. If you want to use node labels, if available, you can find a node
number from its label, say xyz, with:
grep(xyz, phy$node.label) + Ntip(phy)
Best,
Emmanuel
-Original Message-
From: Ania