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


nosarcasm/WGCNA documentation built on May 28, 2019, 1:01 p.m.