complete_pvpick: Complete the Output of pvpick
Description
A helper function to add the missing singleton clusters in the output of pvpick
(from the package pvclust).
Usage
complete_pvpick(clusters, labels)
Arguments
clusters
A clustering by a call to pvpick
.
labels
A character vector containing the exhaustive set of levels.
Value
A list with the singleton clusters inserted at the end (so that the set of clusters is exhaustive).