I have a nxm adjacency matrix, where (i,j) represent the score of association between i and j. I need to convert this into the following format like :
i j <score1>
using R' igraph package and output it into a text file.
I can derive the edgelist, but its showing up without the weights. I used the following code:
library(igraph)
g <- graph.adjacency(myAdjacencymatrix)
get.edgelist(g)
However, it does not show the weights.