possible to create graph from edge list file?
1
0
Entering edit mode
@gergely-zahoranszky-2618
Last seen 10.4 years ago
An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/bioconductor/attachments/20080128/ df9d1818/attachment.pl
• 456 views
ADD COMMENT
0
Entering edit mode
@wolfgang-huber-3550
Last seen 5 months ago
EMBL European Molecular Biology Laborat…
Dear Gergely, try library("graph") ? ftM2graphNEL Best wishes Wolfgang ------------------------------------------------------------------ Wolfgang Huber EBI/EMBL Cambridge UK http://www.ebi.ac.uk/huber Gergely Zahoranszky wrote: > Hi, > > I am quite a newbie in R specially using R graph package. I looked over lot of references relating this package but I could not figure out how to create a graph from an edge list file which is a simple text file. I am interested in undirected graphs. Could anyone please give me a simple example how to do it? Let's say I have a text file like this: > > node1 node2 > node1 node4 > node2 node3 > node3 node4 > > > I would like to use this graph to calculate the cluster coefficient and average edgenumber. > > Thanks! > > > Zahoo > > >
ADD COMMENT

Login before adding your answer.

Traffic: 789 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6