Exporting results of Modularity
-
- Posts:1
- Joined:13 Dec 2013 00:07 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
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), ...
-
- Posts:68
- Joined:21 Jan 2012 18:34
- Location:Washington, DC, USA [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Re: Exporting results of Modularity
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!
Good luck!
-
- Posts:68
- Joined:21 Jan 2012 18:34
- Location:Washington, DC, USA [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Re: Exporting results of Modularity
I should add that you would want to export the nodes table *after* you run the modularity algorithm on your network....