Description Usage Arguments Details Note Author(s) Examples
View source: R/mirsynergy_utils.R
Plot as network graphical view of the output from mirsynergy
V
. NB: small network only.
1 | plot_modules(V, W, H, legend.pos = "topright", ...)
|
V |
Outputs from |
W |
An N by M edge weight matrix containing interaction strength between N mRNA and M miRNA. |
H |
An N by N edge weight matrix containing the binary interaction among the N mRNA (genes). |
legend.pos |
Specify legend position |
... |
Other parameters passed to |
Each node will be coloured by the modules they belong to. If a node belongs to multiple modules, it will be coloured differently based on the exact combination of the module indexes. The legend displays the corresponding colours and module assignments.
Only for small network. For large network please use
tabular_module
to create a pairwise table as input to Cytoscape.
Yue Li
1 2 3 | load(system.file("extdata/toy_modules.RData", package="Mirsynergy"))
plot_modules(V,W,H)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.