% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cluster-metrics.R
\name{.group_tna_to_mcml}
\alias{.group_tna_to_mcml}
\title{Convert a group_tna to mcml}
\usage{
.group_tna_to_mcml(
  x,
  clusters = NULL,
  method = "sum",
  type = "tna",
  directed = TRUE,
  compute_within = TRUE
)
}
\description{
Two modes depending on whether \code{clusters} is provided:
\describe{
\item{With clusters (row-level)}{For group_tna from
\code{tna::group_model(cluster_data(...))}. \code{clusters} is the
row-to-group assignments. Per-cluster tnas are taken as-is.
Macro data is the assignments vector.}
\item{Without clusters (node-level)}{For group_tna from
\code{as_tna(cluster_summary(...))}. Cluster membership inferred
from each tna's labels. Macro rebuilt from original data.}
}
}
\keyword{internal}
