% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/manuscript-viz.R
\name{compare_methods_plot}
\alias{compare_methods_plot}
\title{Visually compare clustering solutions with ComparePlot (no ground truth)}
\usage{
compare_methods_plot(
  solutions,
  nrclusters,
  cols = NULL,
  cex.labels = 0.5,
  margins = c(5, 11, 3, 2),
  ...
)
}
\arguments{
\item{solutions}{A named list of fitted results and/or label vectors, all over
the same objects in the same order.}

\item{nrclusters}{Number of clusters to cut each solution into.}

\item{cols}{Optional cluster colours; defaults to a distinct palette.}

\item{cex.labels, margins}{Passed to \code{\link{ComparePlot}}.}

\item{...}{Further arguments to \code{\link{ComparePlot}}.}
}
\value{
Invisibly \code{NULL}; called for the plot. Needs \pkg{circlize} and
\pkg{plotrix}.
}
\description{
Aligns several clustering solutions of the same objects and draws them with
\code{\link{ComparePlot}} so their agreement can be read off directly -- which
objects the methods place together and where they disagree -- without any
ground truth. Each solution may be a fitted result (with \code{$Clust} /
\code{$DistM}) or a plain label vector; label vectors are turned into a
co-membership dissimilarity so every solution is comparable.
}
\examples{
data(mosaic_toy)
sols <- list(
  var    = M_ABCpp(mosaic_toy$List, numsim = 40, NC = 3, weighting = c("var", "var")),
  nugget = M_ABCpp(mosaic_toy$List, numsim = 40, NC = 3, weighting = c("nugget", "nugget")),
  NEMO   = NEMO(mosaic_toy$List, k = 3)$cluster)
\dontrun{compare_methods_plot(sols, nrclusters = 3)}
}
\seealso{
\code{\link{clustering_concordance}}, \code{\link{ComparePlot}}
}
