% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot-compare.R
\name{plot_compare}
\alias{plot_compare}
\title{Plot Network Difference (alias of plot_difference)}
\usage{
plot_compare(x, ...)
}
\arguments{
\item{x}{First network (see \code{\link{plot_difference}}).}

\item{...}{Arguments passed to \code{\link{plot_difference}}.}
}
\value{
Invisibly, the value of \code{\link{plot_difference}}.
}
\description{
\code{plot_compare()} is an alias of \code{\link{plot_difference}()}. It is
\strong{not deprecated}: \code{tna::plot_compare()} delegates to it by name
(\code{cograph::plot_compare(x, y, ...)}), so the alias is part of the
tna integration and must keep working. New cograph code may prefer the
\code{plot_difference()} name; both call the same implementation.
}
\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)
}
\seealso{
\code{\link{plot_difference}}
}
