% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/nmfkc.R
\name{plot.nmf.cluster.flow}
\alias{plot.nmf.cluster.flow}
\title{Plot a cluster-flow (alluvial) diagram}
\usage{
\method{plot}{nmf.cluster.flow}(
  x,
  col = NULL,
  lwd = 1,
  xlab = "rank (Q)",
  ylab = "individuals",
  main = "Cluster flow across rank",
  ...
)
}
\arguments{
\item{x}{An object of class \code{"nmf.cluster.flow"}.}

\item{col}{Optional colour vector indexed by \strong{reference}
cluster id (\code{col[k]} colours every individual whose reference
cluster is \code{k}); recycled if shorter than the number of
reference clusters.  Defaults to the object's palette.}

\item{lwd}{Line width of the flow segments.}

\item{xlab, ylab}{Axis labels.}

\item{main}{Plot title.}

\item{...}{Further arguments passed to the initial
\code{\link[graphics]{plot}} call.}
}
\value{
\code{x}, invisibly.
}
\description{
Draws the alluvial / Sankey-style cluster-flow diagram for an object
created by \code{\link{nmf.cluster.flow}}.
}
\seealso{
\code{\link{nmf.cluster.flow}}
}
