Phylogenetic tree visualization functions including basic tree plots, circular layouts, unrooted trees, tree comparisons, and tree annotations.
Plot a Biopython Phylo tree to matplotlib Axes.
Example:
from pathlib import Path
from metainformant.dna import sequences, phylogeny
from metainformant.visualization import plot_phylo_tree
seqs = sequences.read_fasta(str(Path("tests/data/dna/toy.fasta")))
tree = phylogeny.neighbor_joining_tree(seqs)
ax = plot_phylo_tree(tree)Plot a phylogenetic tree in circular layout.
Plot an unrooted phylogenetic tree.
Plot multiple trees side by side for comparison.
Plot a phylogenetic tree with annotations.
- Build trees in DNA: Phylogeny and render here.