plotModuleWeb | R Documentation |
This function takes an object of class moduleWeb
and plots the modules found by function computeModules(...)
onto the graph.
plotModuleWeb(moduleWebObject, plotModules = TRUE,
rank = FALSE, weighted = TRUE, displayAlabels = TRUE,
displayBlabels = TRUE, labsize = 1, xlabel = "", ylabel = "",
square.border = "white", fromDepth = 0, upToDepth = -1)
moduleWebObject |
An object of class "moduleWeb". |
plotModules |
If |
rank |
logical; if true, rows will be standardised for plotting, yielding a range from light to dark blue for each row; if false, values are ranged across the entire matrix. The latter is more faithful to the data, while the former makes lower levels more comparable, irrespective of marginal totals. |
weighted |
If |
displayAlabels |
Row labels are plotted, iff |
displayBlabels |
Column labels are plotted, iff |
labsize |
|
xlabel |
|
ylabel |
|
square.border |
Background color of area with squares. |
fromDepth |
Minimal depth of modules which should be plotted. |
upToDepth |
Maximal depth of modules which should be plotted. If upToDepth is smaller then fromDepth, all modules are plotted. |
A plot window with appropriate size according to the dimensions of the web.
Rouven Strauss
See also function visweb
.
## Not run:
data(small1976)
moduleWebObject = computeModules(small1976);
plotModuleWeb(moduleWebObject);
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.