% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/characterize.R
\name{plot_cluster_profile}
\alias{plot_cluster_profile}
\title{Plot one external variable by cluster}
\usage{
plot_cluster_profile(labels, x, name = deparse(substitute(x)), col = NULL)
}
\arguments{
\item{labels}{Cluster labels.}

\item{x}{The variable (numeric -> boxplot; factor/character -> barplot).}

\item{name}{Axis / title label for the variable.}

\item{col}{Optional vector of cluster colours.}
}
\value{
Invisibly \code{NULL}; called for the plot.
}
\description{
Boxplot (continuous) or grouped bar plot of column proportions (categorical)
of an external variable across clusters -- the per-cluster distribution and
gradient the manuscript should show.
}
\seealso{
\code{\link{characterize_clusters}}, \code{\link{cluster_biology_panel}}
}
