#ggtree by @yulab.bsky.social is fantastic for visualizing #phylo data in @rconsortium.bsky.social as it’s mounted on the @posit.co tidyverse. These are some phylopic.org homework plots from the #sistematicaunam class at @ib_unam real purdy ain’t ‘em?
Here is a short example of how to create a phylogenetic tree like the one on the left. I use data and silhouettes provided by the ggtree package — more is coming in the next days!
#ggtree #rstats #phylogenetics #dataviz #bioinformatics #ggplot2 #PhyloPic code: gist.github.com/loukesio/dd3...
thats a very interesting phylogenetic tree that reflect the avian evolution. I know its a big jump, but can we build something like this with #ggtree ?
www.nature.com/articles/s41...
Styling ggtree branches is easy; change color, linewidth, and linetype directly inside the ggtree() call. Works the same across rectangular, circular, and slanted layouts. Colors from the alger palette (ltc package).
#ggtree #rstats #phylogenetics #dataviz
thank you Trevor 😀!
More stuff related to #ggtree are coming
The cool things about ggtree don't stop here. You can use geom_text() or geom_label() to display node and tip labels simultaneously, or geom_tiplab() to show only tip labels. You can even have nodes and tips looking differently
#ggtree #rstats #phylogenetics #dataviz #bioinformatics #ggplot2
#ggtree has a relatively steep learning curve. But after looking at a few Python alternatives eg., toytree, ETE, Bio.Phylo it's hard to match its layout versatility. 21 tree variants with just a few lines of code.
#rstats #phylogenetics #bioinformatics
💬 "There’s already plenty of documentation out there for how to use #ggtree, but there is the odd thing I come up against that I haven’t seen explicitly demonstrated before." - @rowenahill.bsky.social.
A guide to plotting #phylogenetictrees in #R, and automating clade highlights
buff.ly/Vd5b61a
🧬💻
💬 "There’s already plenty of documentation out there for how to use #ggtree, but there is the odd thing I come up against that I haven’t seen explicitly demonstrated before."
A guide to plotting #phylogenetictrees in #R, and automating clade highlights, by @rowenahill.bsky.social 👇
Scalable method for exploring #phylogenetic placement uncertainty with custom #visualizations using #treeio and #ggtree onlinelibrary.wiley.com/doi/full/10....
#ggplot2 #R #Rstudio #Bioinformatics