Cluster detection by a constant height cut of a hierarchical clustering dendrogram.
cutreeStaticColor(dendro, cutHeight = 0.9, minSize = 50)
A character vector giving color labels of objects, with "grey" meaning unassigned. The largest cluster
is conventionally labeled "turquoise", next "blue" etc. Run standardColors()
to see the sequence
of standard color labels.
a hierarchical clustering dendrogram such as returned by hclust
.
height at which branches are to be cut.
minimum number of object on a branch to be considered a cluster.
Peter Langfelder
This function performs a straightforward constant-height cut as implemented by cutree
,
then calculates the number of objects on each branch and only keeps branches that have at least
minSize
objects on them.