Hello @emmanuelparadis and @liamrevell,
here is some code which should make drop.tip and keep.tip generic. I realized Liam had a function drop.tip.multiPhylo, but I think the changes would not harm this. drop.tip.multiSimmap should also work calling drop.tip afterwards, but I think this needs some testing. drop.tip.multiPhylo in phytools could be dropped later on when ape is on CRAN.
Have nice holidays,
Klaus
Hi @KlausVigo ,
You sent this code in Oct but I forgot to push. Sorry! It's done now. The methods are not exported, but I can add them in the NAMESPACE if you prefer.
Cheers,
Emmanuel
Hello @emmanuelparadis and @liamrevell, here is some code which should make
drop.tip
andkeep.tip
generic. I realized Liam had a functiondrop.tip.multiPhylo
, but I think the changes would not harm this.drop.tip.multiSimmap
should also work callingdrop.tip
afterwards, but I think this needs some testing.drop.tip.multiPhylo
inphytools
could be dropped later on whenape
is on CRAN. Have nice holidays, Klaus