identify method for ggtree

[This article was first published on R on Guangchuang YU, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

We are happy to announce that ggtree supports interactive tree annotation/manipulation by implementing an identify method. Users can click on a node to highlight a clade, to label or rotate it etc.

Here is an example of highlighting clades using geom_hilight with identify:


Here is another example of using emojifont to label clades.


Interactive tree manipulation, e.g. rotating clades, is also possible.

The videos are also available in youku (优酷), see http://v.youku.com/v_show/id_XMTYyMzgyODYyOA, http://v.youku.com/v_show/id_XMTYyNDIzODA0NA and http://v.youku.com/v_show/id_XMTYyMzgyODg2OA.

To leave a comment for the author, please follow the link and comment on their blog: R on Guangchuang YU.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)