plot_compare: Plot Network Difference (alias of plot_difference)

View source: R/plot-compare.R

plot_compareR Documentation

Plot Network Difference (alias of plot_difference)

Description

plot_compare() is an alias of plot_difference(). It is not deprecated: tna::plot_compare() delegates to it by name (cograph::plot_compare(x, y, ...)), so the alias is part of the tna integration and must keep working. New cograph code may prefer the plot_difference() name; both call the same implementation.

Usage

plot_compare(x, ...)

Arguments

x

First network (see plot_difference).

...

Arguments passed to plot_difference.

Value

Invisibly, the value of plot_difference.

See Also

plot_difference

Examples

m1 <- matrix(stats::runif(25), 5, 5)
m2 <- matrix(stats::runif(25), 5, 5)
rownames(m1) <- colnames(m1) <- LETTERS[1:5]
rownames(m2) <- colnames(m2) <- LETTERS[1:5]
plot_compare(m1, m2)

cograph documentation built on Sept. 30, 2026, 5:08 p.m.