Dears,

I restructured the function drop.clade to work with tree with/without
singletons. It return tree as it is, with/without singletons and is
independent of extract.clade and drop.tip.

Maybe it could be useful.

https://github.com/MarioJose/r-functions/blob/master/drop.clade.label/drop.clade.label.r

I leaned a lot working on it!

p.s.: drop.tip function remove singletons in the last code. Maybe this
behaviour could be optional with a new argument

All the best,

Mario

....................................................................
Mario José Marques-Azevedo
Ph.D. Candidate in Ecology
Department of Plant Biology, Institute of Biology
University of Campinas, Campinas, São Paulo, Brazil
https://github.com/mariojose <http://www.github.com/mariojose>

        [[alternative HTML version deleted]]

_______________________________________________
R-sig-phylo mailing list - R-sig-phylo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
Searchable archive at http://www.mail-archive.com/r-sig-phylo@r-project.org/

Reply via email to