% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{taxo_heatmap}
\alias{taxo_heatmap}
\title{Plot a taxonomic heatmap}
\usage{
taxo_heatmap(taxa, ...)
}
\arguments{
\item{taxa}{A character vector of taxon names, or a \code{dist} object from
\code{\link{distance_matrix}}.}

\item{...}{Additional arguments passed to \code{\link[stats]{heatmap}}.}
}
\value{
Invisibly returns the underlying \code{dist} object.
Called primarily for its side effect (plotting).
}
\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).
}
\examples{
\donttest{
taxa <- c("Tyrannosaurus", "Velociraptor", "Homo", "Panthera", "Quercus")
taxo_heatmap(taxa)
}
}
