igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Network with directed and undirected edges


From: Tamás Nepusz
Subject: Re: [igraph] Network with directed and undirected edges
Date: Fri, 4 May 2012 23:11:57 +0200

> I've to build a protein-protein-interaction network with mainly undirected 
> but also some directed edges. Is there any way to build such a network with 
> igraph?

I think that in most cases, you can simply replace an A---B undirected edge 
with a pair of directed edges: A --> B and B --> A. igraph cannot handle mixed 
undirected and directed edges within the same graph, so this is your only 
option if you want to stick to igraph.

-- 
T.




reply via email to

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