dynamicMergeCut: Threshold for module merging

View source: R/Functions.R

dynamicMergeCutR Documentation

Threshold for module merging

Description

Calculate a suitable threshold for module merging based on the number of samples and a desired Z quantile.

Usage

dynamicMergeCut(n, mergeCor = 0.9, Zquantile = 2.35)

Arguments

n

number of samples

mergeCor

theoretical correlation threshold for module merging

Zquantile

Z quantile for module merging

Details

This function calculates the threshold for module merging. The threshold is calculated as the lower boundary of the interval around the theoretical correlation mergeCor whose width is given by the Z value Zquantile.

Value

The correlation threshold for module merging; a single number.

Author(s)

Steve Horvath

See Also

moduleEigengenes, mergeCloseModules

Examples

  dynamicMergeCut(20)
  dynamicMergeCut(50)
  dynamicMergeCut(100)

WGCNA documentation built on Sept. 18, 2024, 5:08 p.m.

Related to dynamicMergeCut in WGCNA...