moduleNumber: Fixed-height cut of a dendrogram.

Description Usage Arguments Details Value Note Author(s) See Also

View source: R/Functions.R

Description

Detects branches of on the input dendrogram by performing a fixed-height cut.

Usage

1
moduleNumber(dendro, cutHeight = 0.9, minSize = 50)

Arguments

dendro

a hierarchical clustering dendorgram such as one returned by hclust.

cutHeight

Maximum joining heights that will be considered.

minSize

Minimum cluster size.

Details

All contiguous branches below the height cutHeight that contain at least minSize objects are assigned unique positive numerical labels; all unassigned objects are assigned label 0.

Value

A vector of numerical labels giving the assigment of each object.

Note

The numerical labels may not be sequential. See normalizeLabels for a way to put the labels into a standard order.

Author(s)

Peter Langfelder, Peter.Langfelder@gmail.com

See Also

hclust, cutree, normalizeLabels


WGCNA documentation built on March 1, 2021, 1:05 a.m.

Related to moduleNumber in WGCNA...