This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Create a phylogenetic tree with a bar at the end?

I have a huge tree stored in newick format and a table with attributes for the tips. Using the package ape, I was able to put common colors to tips and branches that share the same attribute, but I would like to depict a more concrete representation, like a bar at the end, to make clear where my clusters are and which is its size. (See example in here). It seems that if I want fancier trees, I will need a more capable tool. Also, I tried with FigTree, but was able to color only the labels. Is there a good tool to do this? How?

phylogeny tree

1 answer

Looks like you can do this with ggtree: https://www.bioconductor.org/packages/devel/bioc/vignettes/ggtree/inst/doc/treeAnnotation.html#annotate-clades (and probably much much more too)

Log in to answer this question.