[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 583: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 639: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
Gephi forums •Exporting results of Modularity
Page 1 of 1

Exporting results of Modularity

Posted: 13 Dec 2013 00:13
by shishirpy
I have an undirected graph. I run the modularity algorithm in Gephi to find the communities. Gephi produces a report telling the number of communities and the number of nodes in each community. How can I export the resulting community structure? I want something like: community 1 - (list of nodes), community 2 - (list of nodes), ...

Re: Exporting results of Modularity

Posted: 13 Dec 2013 19:45
by francis_flavin
I would just export the nodes table from the Data Lab into a .CSV file, and then import that file into a database program and run your queries there. Or, just write a simple Python program to import a .CSV file and then output your data in whatever format you like.

Good luck!

Re: Exporting results of Modularity

Posted: 13 Dec 2013 21:33
by francis_flavin
I should add that you would want to export the nodes table *after* you run the modularity algorithm on your network....