Plot module assignments.

Description

Plot as network graphical view of the output from mirsynergy V. NB: small network only.

Usage

1
plot_modules(V, W, H, legend.pos = "topright", ...)

Arguments

V

Outputs from mirsynergy

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 plot

Details

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.

Note

Only for small network. For large network please use tabular_module to create a pairwise table as input to Cytoscape.

Author(s)

Yue Li

Examples

1
2
3
load(system.file("extdata/toy_modules.RData", package="Mirsynergy"))

plot_modules(V,W,H)