Learn R Programming

Mirsynergy (version 1.8.1)

plot_modules: Plot module assignments.

Description

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

Usage

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.

Examples

Run this code
load(system.file("extdata/toy_modules.RData", package="Mirsynergy"))

plot_modules(V,W,H)

Run the code above in your browser using DataLab