wgcnaAnalysis: WGCNA modules

Description Usage Arguments Value References Examples

View source: R/wgcna_wrap.R

Description

As suggested by WGCNA, the 1st number that hists between 0.8-0.9 region should be picked as the soft-threshold

Usage

1
wgcnaAnalysis(x, softPower = 1)

Arguments

x

- adjacency matrix returned by phaseLockingMatrix, grangerTest or coherenceTest

softPower

- based on the plot of function wgcna_analysis_power, the 1st number that hists between 0.8-0.9 region should be picked as the soft-threshold. If none, use 1.

Value

3 plots.

References

[1] Langfelder, P. & Horvath, S. WGCNA: an R package for weighted correlation network analysis. BMC Bioinformatics 9, 559 (2008)

Examples

1
2
3
#example 1
x = replicate(1000, rnorm(1000))
wgcna_result=wgcna_analysis(x,5)

NIHBiSB/CoSync-Test documentation built on May 7, 2019, 6:02 p.m.