Description Usage Arguments Details Value Author(s) See Also
Module detection in hierarchical dendrograms using a constant-height tree cut. Only branches whose size
is at least minSize are retained.
1 | cutreeStatic(dendro, cutHeight = 0.9, minSize = 50)
|
dendro |
a hierarchical clustering dendrogram such as returned by |
cutHeight |
height at which branches are to be cut. |
minSize |
minimum number of object on a branch to be considered a cluster. |
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.
A numeric vector giving labels of objects, with 0 meaning unassigned. The largest cluster is conventionally labeled 1, the next largest 2, etc.
Peter Langfelder
hclust for hierarchical clustering, cutree and
cutreeStatic for other constant-height branch cuts, standardColors to convert
the retuned numerical lables into colors for easier visualization.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.