| plotNMIs {Dune} | R Documentation |
We can compute the NMI between pairs of cluster labels. This function plots a matrix where a cell is the Normalized Mutual Information between cluster label of row i and cluster label of column j.
plotNMIs(clusMat, unclustered = NULL, values = TRUE, numericalLabels = FALSE)
clusMat |
The clustering matrix with a row per cell and a column per clustering label type |
unclustered |
The value assigned to unclustered cells. Default to |
values |
Whether to also display the ARI values. Default to TRUE. |
numericalLabels |
Whether labels are numerical values. Default to FALSE. |
a ggplot object
data("clusMat", package = "Dune")
merger <- Dune(clusMat = clusMat, metric = "NMI")
plotNMIs(merger$initialMat)
plotNMIs(merger$currentMat)