Description Usage Arguments References Examples
Draw Modules
1 2 3 | drawModules(graph, summary, title="",
close.cycnets.afterwards=FALSE, save.image=FALSE, modules.to.draw=NULL,
only.overview.network = TRUE)
|
graph |
an |
summary |
a list containing the modules and nodes |
title |
a name for the Cytoscape session. |
close.cycnets.afterwards |
TRUE, if the windows in the cytoscape environment should be closed after drawing. This might be useful repeated function call. |
save.image |
TRUE, if modules should be saved as png files. |
modules.to.draw |
a vector containing the IDs of the modules, that should be drawn.
If |
only.overview.network |
TRUE if only the overall network should be drawn, but not the individual networks for the modules |
Shannon2003MoDentify
\insertRefSmoot2011MoDentify
\insertRefRCy3MoDentify
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | data(qmdiab.data)
data(qmdiab.annos)
data(qmdiab.phenos)
data <- qmdiab.data[, 1:75]
annotations <- qmdiab.annos[1:75]
net_graph <- generateNetwork(data = data, annotations = annotations)
mods <- identifyModules(
graph = net_graph, data = data, annotations = annotations,
phenotype = qmdiab.phenos$T2D
)
drawModules(
graph = net_graph, summary = mods, title = "modules",
save.image = FALSE
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.