Tree #1 from https://www.ncbi.nlm.nih.gov/pubmed/26773003 :

![enter image description here][1]



Tree #2 from http://www.fisht1k.org/subproject/phylogeny :

![enter image description here][2]

I would like to group sequences on the tree and have a table/graphics on the side. Also, it would be great if at least some part of this task can be done programmatically. I was wondering what could be a good tool (or an R library, for example) to do that?

Thank you in advance,
Ivan


  [1]: http://ivanya.com/tmp/2016/Tree1.png
  [2]: http://ivanya.com/tmp/2016/Tree2.png
I'm not sure if it will fit your needs exactly, but you can do many many things using ggtree in R http://bioconductor.org/packages/release/bioc/html/ggtree.html