|
From: | Ahmed Abdeen Hamed |
Subject: | Re: [igraph] uploading a bipartite graph from a csv file |
Date: | Wed, 20 May 2015 15:07:44 -0400 |
> Is uploading a bipartite graph from a .csv value file any different from
> any other graph? If so, how would one specify the partitions? Say the
> source is part1 and target is part2?
Bipartite graphs in igraph are treated just like any other graph; the only
difference is that you should have a vertex attribute named "type" which
contains TRUE for one of the vertex groups and FALSE for the other. If you are
loading a graph from a CSV file, you can add this vertex attribute after
loading.
T.
[Prev in Thread] | Current Thread | [Next in Thread] |