taxo_heatmap: Plot a taxonomic heatmap

View source: R/utils.R

taxo_heatmapR Documentation

Plot a taxonomic heatmap

Description

Computes pairwise taxonomic distances and plots a heatmap with hierarchical clustering dendrograms on the margins. Darker/hotter colors typically represent smaller distances (closer relatives).

Usage

taxo_heatmap(taxa, ...)

Arguments

taxa

A character vector of taxon names, or a dist object from distance_matrix.

...

Additional arguments passed to heatmap.

Value

Invisibly returns the underlying dist object. Called primarily for its side effect (plotting).

Examples


taxa <- c("Tyrannosaurus", "Velociraptor", "Homo", "Panthera", "Quercus")
taxo_heatmap(taxa)


taxodist documentation built on May 6, 2026, 1:06 a.m.