I am using gephi for large network visualizations. I have a dataset that contains 16 000 nodes and 100 000 edges. I have plotted my network in gephi and igraph in r both.Though for large network visualization is a better option. I want to plot a sub-network which is the part of this full network and highlight only that sub-network over a large network. Is there any way to plot a network over a network in gephi or r.
Here is my r script
library(igraph)
g=barabasi.game(10,power=0.5)
plot(g)
g1=induced.subgraph(g,1:3)
Here g1 is a part of g.Then can I highlight my subgraph g1 over g by making only the portion of g1 to be highlighted.
Ok combination of the answer of 42- and the answer here
library(igraph)
g=barabasi.game(10,power=0.5)%>%
set_vertex_attr("color", value = c(rep("red",10)))
g1=induced.subgraph(g,1:3)
V(g)$color[V(g1)] = "green"
plot(g)
write.graph(g,'barabasi.graphml', format=c('graphml')) # graphml can be opened by Gephi
The vertices of the induced subgraph are colored green