I have 4 undirected graph with 1000 vertices and 176672, 150994, 193477, 236060 edges. I am trying to see interaction between a specific set of nodes (16 in number) for each graph. This visualization in tkplot is not feasible as 1000 vertices is already way too much for it. I was thinking of if there is some way to extract the interaction of these 16 nodes from the parent graph and view separately, which will be then more easy to handle and work with in tkplot. I don't want the loss of information as in what is the node(s) in he path of interaction if it comes from other than 16 pre-specified nodes. Is there a way to achieve it? I have their adjacency matrices and igraph objects to work with.
Question: How to study interaction between a set of specified nodes using 'igraph' package when the network is quite dense?
0
ishanee.india • 30 wrote:
ADD COMMENT
• link
•
modified 3.8 years ago
by
raunakms • 980
•
written
3.8 years ago by
ishanee.india • 30
0
raunakms • 980 wrote:
Use subgraph function. You just need to specify the igraph object for the graph and a vector of nodes you want to sub-select.
Thankyou!
A bug cropped up: Warning message:
In .Call("R_igraph_subgraph", graph, as.igraph.vs(graph, v) - 1, :
At structural_properties.c:1945 :igraph_subgraph is deprecated from igraph 0.6, use igraph_induced_subgraph instead
well, i used induced.subgraph instead. But as i said, the nodes which will be interacting in between must not get lost. Here, only those 16 nodes are coming, if the interaction is via some node other than the one specified in 16, is not getting displayed. I want those nodes too in my subgraph.
Please log in to add an answer.
Use of this site constitutes acceptance of our User
Agreement
and Privacy
Policy.
Powered by Biostar
version 2.3.0
Traffic: 871 users visited in the last hour