Visualizing phylogenetic trees
A phylogeny or phylogenetic tree aims to show the evolutionary relationships between biological entities, such as species or genes. Trees, in graph theory, are fully connected undirected graphs without cycles; therefore, we can use software aimed at graph visualization to explore phylogenies. In fact, in Chapter 7, Visualizing Graphs, we used GraphRecipes
to visualize other trees, namely, abstract syntax trees and type hierarchies. However, if we want to visualize phylogenies, we should rely on dedicated packages. The main package for working with phylogenies in the Julia ecosystem is Phylo
, from the EcoJulia organization. This package offers a Plots
recipe for their tree objects. In this section, we will explore the Phylo
package and phylogenetic trees. However, if you deal with phylogenetic networks, you should rely on the PhyloNetworks
and PhyloPlots
packages. Phylogenetic networks are more complex graphs than trees in that a node can have more than...