Learn R Programming

WGCNA (version 1.73)

plotModuleSignificance: Barplot of module significance

Description

Plot a barplot of gene significance.

Usage

plotModuleSignificance(
  geneSignificance, 
  colors, 
  boxplot = FALSE, 
  main = "Gene significance across modules,", 
  ylab = "Gene Significance", ...)

Value

None.

Arguments

geneSignificance

a numeric vector giving gene significances.

colors

a character vector specifying module assignment for the genes whose significance is given in geneSignificance . The modules should be labeled by colors.

boxplot

logical: should a boxplot be produced instead of a barplot?

main

main title for the plot.

ylab

y axis label for the plot.

...

other graphical parameters to plot.

Author

Steve Horvath

Details

Given individual gene significances and their module assigment, the function calculates the module significance for each module as the average gene significance of the genes within the module. The result is plotted in a barplot or boxplot form. Each bar or box is labeled by the corresponding module color.

References

Bin Zhang and Steve Horvath (2005) "A General Framework for Weighted Gene Co-Expression Network Analysis", Statistical Applications in Genetics and Molecular Biology: Vol. 4: No. 1, Article 17

Dong J, Horvath S (2007) Understanding Network Concepts in Modules, BMC Systems Biology 2007, 1:24

See Also