% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mcml.R
\name{plot.mcml}
\alias{plot.mcml}
\title{Plot Method for mcml}
\usage{
\method{plot}{mcml}(x, ...)
}
\arguments{
\item{x}{An \code{mcml} object.}

\item{...}{Additional arguments passed to \code{cograph::plot_mcml()}
(e.g., \code{colors}, \code{edge_labels}, \code{mode}).}
}
\value{
The input object, invisibly.
}
\description{
Plots an MCML network. When \pkg{cograph} is available, delegates to
\code{cograph::plot_mcml()} which renders a two-layer visualization
(macro summary on top, within-cluster detail on bottom). Otherwise,
converts to a \code{netobject_group} and plots each layer as a
separate panel.
}
\examples{
\dontrun{
seqs <- data.frame(
  T1 = sample(LETTERS[1:6], 30, TRUE),
  T2 = sample(LETTERS[1:6], 30, TRUE),
  T3 = sample(LETTERS[1:6], 30, TRUE)
)
clusters <- list(G1 = c("A", "B", "C"), G2 = c("D", "E", "F"))
cs <- build_mcml(seqs, clusters)
plot(cs)
}

}
