16.01.2015 Views

Package 'WGCNA' - Laboratory Web Sites - UCLA

Package 'WGCNA' - Laboratory Web Sites - UCLA

Package 'WGCNA' - Laboratory Web Sites - UCLA

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

50 GTOMdist<br />

Arguments<br />

n<br />

gamma<br />

number of colors to be returned<br />

color correction power<br />

Details<br />

The function returns a color vector that starts with pure green, gradually turns into white and then<br />

to red. The power \gamma can be used to control the behaviour of the quarter- and three quartervalues<br />

(between green and white, and white and red, respectively). Higher powers will make the<br />

mid-colors more white, while lower powers will make the colors more saturated, respectively.<br />

Value<br />

A vector of colors of length n.<br />

Author(s)<br />

Peter Langfelder<br />

Examples<br />

par(mfrow = c(3, 1))<br />

displayColors(greenWhiteRed(50));<br />

displayColors(greenWhiteRed(50, 3));<br />

displayColors(greenWhiteRed(50, 0.5));<br />

GTOMdist<br />

Generalized Topological Overlap Measure<br />

Description<br />

Generalized Topological Overlap Measure, taking into account interactions of higher degree.<br />

Usage<br />

GTOMdist(adjMat, degree = 1)<br />

Arguments<br />

adjMat<br />

degree<br />

adjacency matrix. See details below.<br />

integer specifying the maximum degree to be calculated.<br />

Value<br />

Matrix of the same dimension as the input adjMat.<br />

Author(s)<br />

Steve Horvath and Andy Yip

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!