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

1

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).

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.