igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] Data manipulation and visualization help (new to igraph)


From: Rita Margarida Almeida Magalhaes
Subject: Re: [igraph] Data manipulation and visualization help (new to igraph)
Date: Wed, 21 Feb 2018 20:58:30 +0000

Hi, 


Sorry for the late reply. I tried your suggestion. It improved it slightly, but ultimately I still have tons of overlap. 


I appreciate you taking the time to help.


Have a lovely day!


Rita



From: igraph-help <igraph-help-bounces+address@hidden> on behalf of Sebastián Goinheix <address@hidden>
Sent: Tuesday, February 20, 2018 4:28 PM
To: Help for igraph users
Subject: Re: [igraph] Data manipulation and visualization help (new to igraph)
 
Hi,
Have you tried using graph_from_incidence_matrix command?


--------
Sebastián Goinheix
Instituto de Economía - UdelaR
Tel: 2400 0466 (ext. 2416)
Por favor, evite imprimir este correo.

2018-02-19 16:27 GMT-03:00 Rita Margarida Almeida Magalhaes <address@hidden>:

Good Afternoon,


I am having some difficulty visualizing a network using the igraph package in R.

I "inherited" a csv file with data that  has information on people attending events. The table has a few columns about the attendees (id, group they belong to, department they belong to) and then the rest of the columns are the events. It creates a table of 1's and 0's, depending on who attended which event. 

I managed to transform it into a matrix (by excluding the columns that have attributes, which I wish I didn't have to do) and convert it into an adjacency table, but with 118 people and 34 events (all of which will increase) the plot created by igraph is impossible to read, as most people cluster into 2 groups. I have reduced the size of the nodes but you still cannot see the edges and their weight.

I have never done this type of visualization before but have used R for stats and ggplot2 for graphing. 

Most posts about networks I have been reading have separate files for nodes and edges, not tables like mine, and I am not sure how to convert my csv table into those separate files. And then, visualizing the network in such a way that I can zoom in on the clusters and see what they actual represent, and use the attributes as well.

Thank you for taking the time to read this. Any help would be appreciated!


Rita


_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help



reply via email to

[Prev in Thread] Current Thread [Next in Thread]