ModulePlots: Plot modules

Description Usage Arguments Value

View source: R/wgcna_wrap.R

Description

To visualize modules in graph and in heatmap

Usage

1
ModulePlots(x, expr, mColors, thisColor = "blue", cut = 0.3)

Arguments

x

- co-sychronization matrix returned by phaseLockingMatrix, grangerTest or coherenceTest

expr

- expression profile

thisColor

- the color of the module to be plotted

cut

- the threshold for the co-sychronization matrix, extacting submatrix that is bigger than this cutoff, and plot the graph.

modulColors

- color vector return by wgcnaAnalysis

Value

A graph and a heatmap


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