Hey guys,

How do you append to a graph from a file?

Here is a scenario of what I am trying to do I have two different csv files:

File1
source, target
protein1, gene1
protein2, gene1
protein3, gene2

File2
source, target
gene2, gene1
gene2, gene3
gene1, gene3
gene3, gene2


If I load File file we have a graph say g. How do I append file 2 to graph
g? And, when all the nodes are loaded, if I want to color the proteins say
in red and the genes say in blue, is that possible?

Thanks very much in advance!

-Ahmed
_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to