When data points are assigned to clusters A_1 and A_2, their clusters are renamed to be A by matching regular expressions.

group_subclusters(x, suffix = "_.*")

Arguments

x

The qm_cluster class object.

suffix

A regular expression of suffix of cluster names. Clusters with the same prefix comprise a super cluster. For example, "Pl_NaRich" and "Pl_NaPoor" becomes "Pl" cluster if suffix = "_.*" (default).