[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 •Generating an Edgelist
Page 1 of 1

Generating an Edgelist

Posted: 05 May 2017 21:33
by godot90
I am very new to Gephi and I've done a lot of searching for this question but have so far found one result that may not be the most appropriate.

I am trying to do a "co-author" network analysis. My data looks like this:

DocNo. Author
1 Smith
1 Jones
2 Smith
2 Davis
2 Johnson
3 Davis
4 Martin
.
.
.

The structure is one line for each author. The goal being to automatically generate an EDGELIST from this (for instance Smith-->Jones, Smith-->Davis, etc.)

Is there a clean, "easy" way to do this in Gephi or does anyone know of a method for generating this?

So far what I've been doing is using R and making a matrix with the xtabs(~Author+DocNo, data) command and then doing a tcrossprod of that matrix to get to an adjacency matrix and then using igraph package in R to get the edgelist. But I want to make sure that there isn't a simpler way.

Thanks,
-Chris

Re: Generating an Edgelist

Posted: 05 May 2017 23:35
by eduramiba
Hi Chris,
Similarity computer plugin might help with this: https://gephi.org/plugins/#/plugin/similaritycomputer

Re: Generating an Edgelist

Posted: 06 May 2017 14:46
by godot90
Thanks! I'll give that a shot!