% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot-mcml.R
\name{mcml}
\alias{mcml}
\title{mcml - Deprecated alias for csum}
\usage{
mcml(
  x,
  cluster_list = NULL,
  aggregation = c("sum", "mean", "max"),
  as_tna = FALSE,
  nodes = NULL,
  within = TRUE
)
}
\arguments{
\item{x}{Weight matrix, tna object, cograph_network, or cluster_summary object}

\item{cluster_list}{Named list of node vectors per cluster}

\item{aggregation}{How to aggregate edge weights: "sum", "mean", "max"}

\item{as_tna}{Logical. If TRUE, return a tna-compatible object}

\item{nodes}{Node metadata}

\item{within}{Logical. Compute within-cluster matrices}
}
\value{
A cluster_summary object (or tna if as_tna = TRUE)
}
\description{
\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}}

Use \code{\link{csum}} instead. This function is provided for
backward compatibility only.
}
\examples{
set.seed(1)
mat <- matrix(runif(100, 0, 0.3), 10, 10); diag(mat) <- 0
colnames(mat) <- rownames(mat) <- paste0("N", 1:10)
clusters <- list(C1 = paste0("N", 1:5), C2 = paste0("N", 6:10))
mcml(mat, clusters)
}
\keyword{internal}
