While using the graph.edgelist funtion I give a file as the input. This file contains the edgelist representation of the metabolic network of yeast. The following is the kind of input I am giving and the error I am getting :
g<-graph.edgelist("/home/anupam/Desktop/network_analysis/gerstein_C-programs_network/met_network_yeast.txt", directed =FALSE)
Error in graph.edgelist("/home/anupam/Desktop/network_analysis/gerstein_C-programs_network/met_network_yeast.txt", : graph.edgelist expects a matrix with two columns
Can anyone help me with this??? Thanks in advance.