mcml: Deprecated Alias for csum

View source: R/plot-mcml.R

mcmlR Documentation

Deprecated Alias for csum

Description

mcml() is deprecated and kept for backward compatibility. It calls csum with type = "tna", and new code uses csum() directly.

Usage

mcml(
  x,
  cluster_list = NULL,
  aggregation = c("sum", "mean", "max"),
  as_tna = FALSE,
  nodes = NULL,
  within = TRUE
)

Arguments

x

Weight matrix, tna object, cograph_network, or cluster_summary object.

cluster_list

Named list of node vectors per cluster.

aggregation

How edge weights are aggregated, one of "sum", "mean", "max".

as_tna

Logical. If TRUE, a tna-compatible object is returned.

nodes

Node metadata data frame, stored with the result for display labels.

within

Logical. Whether within-cluster matrices are computed.

Value

A cluster_summary object, or a tna object if as_tna = TRUE.

Examples

mcml(regulation_net, cluster_list = list(
  Plan = c("Explore", "Plan", "Monitor", "Adapt", "Reflect"),
  Act = c("Discuss", "Synthesize", "Evaluate", "Create", "Share")
))

cograph documentation built on Nov. 19, 2026, 5:07 p.m.