moduleNumber: Fixed-height cut of a dendrogram.

View source: R/Functions.R

moduleNumberR Documentation

Fixed-height cut of a dendrogram.

Description

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

Usage

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 Sept. 18, 2024, 5:08 p.m.

Related to moduleNumber in WGCNA...