identify method for ggtree

June 28, 2016
By

(This article was first published on R on Guangchuang YU, and kindly contributed to R-bloggers)

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 on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...



If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Sponsors

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)