% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{plot.taxodist_cluster}
\alias{plot.taxodist_cluster}
\title{Plot method for taxodist_cluster objects}
\usage{
\method{plot}{taxodist_cluster}(
  x,
  main = "Taxonomic Clustering",
  xlab = "",
  sub = paste("Method:", x$hclust$method),
  ...
)
}
\arguments{
\item{x}{A \code{taxodist_cluster} object from \code{\link[=taxo_cluster]{taxo_cluster()}}.}

\item{main}{Plot title. Default: \code{"Taxonomic Clustering"}.}

\item{xlab}{X-axis label. Default: \code{""}.}

\item{sub}{Subtitle. Default: clustering method used.}

\item{...}{Additional arguments passed to \code{\link[stats:hclust]{stats::plot.hclust()}}.}
}
\value{
Invisibly returns \code{x}. Called for side effects (plotting).
}
\description{
Plots the hierarchical clustering dendrogram produced by \code{\link[=taxo_cluster]{taxo_cluster()}}.
}
\examples{
\donttest{
taxa <- c("Tyrannosaurus", "Velociraptor", "Triceratops", "Brachiosaurus")
cl <- taxo_cluster(taxa)
plot(cl)
}
}
