forked from seeslab/rgraph
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
The documentation describe five columns in module.dat before the --- and the nodes names
(i.e. ID number for the module, number of nodes in the module, total number of links in the module, number of within-module links, number of links from this module to other modules).
However there are 8 columns. As the column 6 to 8 are equal to the columns 3 to 5 but as floating point, I would assume this is the weighted version of those columns.
Examples:
$ netcarto_cl testnet.dat 1 -1 -1 -1 3
$ cat modules.dat
1 4 7 5 2 7.000000 5.000000 2.000000 --- 4 1 3 2
2 4 6 5 1 6.000000 5.000000 1.000000 --- 22 20 23 21
3 10 16 15 1 16.000000 15.000000 1.000000 --- 5 6 9 8 100 11 7 12 13 10
# Modularity = 0.505487
$ bipartmod -f women.dat -s 1 2> /dev/null
1 8 46 0 46 46.000000 0.000000 46.000000 --- 9 6 2 7 4 3 5 1
3 10 43 0 43 43.000000 0.000000 43.000000 --- 8 10 12 17 11 18 15 16 14 13
This behavior should be documented.
Metadata
Metadata
Assignees
Labels
No labels