[Top][All Lists]

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

[igraph] Read in dataframe as graph, simplifying network while keep edg

From: Tao ZHAO
Subject: [igraph] Read in dataframe as graph, simplifying network while keep edge weights
Date: Tue, 7 May 2019 12:53:16 +0200 (CEST)


I have a dataframe with 8 columns, the first two columns creates the edgelist (source and target, undirected). The other columns are edge descriptions, which are important information for my following analysis.

My next step is to simplify the network and perform clustering.  However after simplify(network), I got a graph with only edgelist (2 columns).

I wonder is there an easier way within the package to attach the pairwise edge information to the simplified network. 
Or I have to write a script myself for the mapping.  It would be very helpful for my following analysis. 

Thank you very much! 

Tao Zhao - Postdoctoral fellow

VIB-UGent Center for Plant Systems Biology
Ghent University
Technologiepark-Zwijnaarde 71 - 9052 Ghent - Belgium
Tel. +32(0)9 331 38 23

Genome editing, cutting-edge technology for a sustainable agriculture

reply via email to

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