complete_pvpick: Complete the Output of 'pvpick'

View source: R/svs.r

complete_pvpickR Documentation

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


svs documentation built on June 24, 2024, 5:07 p.m.