I am trying to perform a network analysis using igraph in R.
I generated the vertices and edges dataframes and in both I have the same vertices/edges repeated twice as they are calculated in different experimental conditions that I would like to compare.
In both data frames I indicated in a specific column the experimental condition (A or B).
I would like to plot condition A and B network analysis outputs side by side with a common gradient scale for the vertices and edges attributes.
So far, I only managed to run igraph splitting the dataframes considering 1 experimental condition at a time but in this case the gradient colour scale of vertices and edges is not comparable between my experimental conditions.
Is there any way to facet the plots according to one categorical attribute?
Many thanks for your help.