igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[igraph] appending and coloring nodes


From: Ahmed Abdeen Hamed
Subject: [igraph] appending and coloring nodes
Date: Fri, 15 Nov 2013 23:00:36 -0500

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







reply via email to

[Prev in Thread] Current Thread [Next in Thread]