Hi Pawel!! It is a fantastic tool! thank you sooo much!!
Hi to all. I would like to plot a network of interacting genes. I performed Mutual Information between genes starting from gene expression values, so my adjacency matrix is composed of mutual information values. Now I would like to have a visualization of the interactions. I tried to use Cytoscape or R igraph or RCytoscape but all this methods transform the adjacency matrix in a boolean matrix. Is there a way or a tool that does not transform the adj matrix in a boolean one? This because according to the mutual information value I would like to have different lengths in edges. For example if A and B interact with a mutual information value of 0.20, the edge connecting them will be longer than the edge connecting A and C that show a mutual information of 0.1.
Any suggestion about this?
Thank you in advance
4 answers
Hi Ben!! yes, I suppose it is more like a distance matrix than an .adj matrix!
I have used similar data without a problem with igraph. Try:
library(igraph)
g <- graph.adjacency(as.matrix(yourData), mode="undirected", weighted=TRUE)
Hi fanofactor!!! Thank you for your help! Unfortunately while I solved the problem of MI values setting weighted = T, I encountered another problem because that function (graph.adjacency) needs a squared matrix, and my matrix is not a squared one..
Try Gephi - an interactive visualization and exploration platform for all kinds of networks and complex systems, dynamic and hierarchical graphs. https://gephi.org/
Hi zx8754! What a fantastic tool!!!
Log in to answer this question.
