% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/link_prediction.R
\name{plot.net_link_prediction}
\alias{plot.net_link_prediction}
\title{Plot Method for net_link_prediction}
\usage{
\method{plot}{net_link_prediction}(x, method = NULL, top_n = 5L, ...)
}
\arguments{
\item{x}{A \code{net_link_prediction} object.}

\item{method}{Character. Which method's predictions to plot.
Default: first method.}

\item{top_n}{Integer. Number of top predictions to show. Default: 5.}

\item{...}{Additional arguments passed to \code{cograph::splot()}.}
}
\value{
The input object, invisibly.
}
\description{
Plots predicted links overlaid on the existing network. Requires the
\pkg{cograph} package for \code{splot()}.
}
\examples{
\dontrun{
net <- build_network(seqs, method = "relative")
pred <- predict_links(net)
plot(pred, top_n = 10)
}
}
