WGCNA (version 1.72-5)

dynamicMergeCut: 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)

Value

The correlation threshold for module merging; a single number.

Arguments

n

number of samples

mergeCor

theoretical correlation threshold for module merging

Zquantile

Z quantile for module merging

Author

Steve Horvath

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.

See Also

moduleEigengenes, mergeCloseModules

Examples

Run this code
  dynamicMergeCut(20)
  dynamicMergeCut(50)
  dynamicMergeCut(100)

Run the code above in your browser using DataLab