Learn R Programming

MoonFinder (version 1.0.3)

moduleHeatmap: moduleHeatmap

Description

Draw a heatmap to illustrate the protein modules mediated by an RNA.

Usage

moduleHeatmap(rna, rna2mod, modList, net)

Arguments

rna

RNA symbol.

rna2mod

N x M 0-1 binary matrix of N RNA and M module.

modList

a list of protien moudles.

net

a protein-protein interaction network compiled in igraph.

Value

a heatmap figure indicating protein modules targeted by an RNA.

References

MoonFinder: a framework for the identification of moonlighting non-coding RNAs.

Examples

Run this code
# NOT RUN {
library(igraph)
data(ppi)
data(rna2module)
data(moduleList)
g <- graph.edgelist(ppi,directed=FALSE)
moduleHeatmap("DIRC3",rna2module,moduleList,g)
# moduleHeatmap("CRNDE",rna2module,moduleList,g)
# }

Run the code above in your browser using DataLab