SPmapping
identifies groups of clusters from two flat partitionings
that have the largest common intersections. These groups are found by
following a greedy strategy: all edges incident to each cluster are removed
except for the one(s) with highest weight; then the connected components in
the resulting bi-graph define the correspondences of superclusters.
SCmapping(clustering1, clustering2, plotting = TRUE, h.min = 0.1, line.wd = 3, point.sz = 3, offset = 0.1, evenly = TRUE, horiz = FALSE, max.iter =24, node.col = NULL, edge.col = NULL,...)
pxp
matrix containing the size of the
intersections between the superclusters.### computation and visualisation of superclusters
# simulated data
clustering1 <- c(rep(1, 5), rep(2, 10), rep(3, 10))
clustering2 <- c(rep(1, 6), rep(2, 6), rep(3, 4), rep(4, 9))
mapping <- SCmapping(clustering1, clustering2)
Run the code above in your browser using DataLab