Skip to contents

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

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)