My question is very simple, but I really cannot find it on the web!
I have the adjacency matrix of a weighted-directed graph which is like:
1 2 3 4
5 2 4 6
3 5 6 2
4 6 7 8
so the element of column i and row j, shows the weight of the link between node i and j.
How can I read this file (which can be in txt or csv format) as a matrix to use in igraph? I want to find the number of clusters. So, I want sth like this: g.community_multilevel() if g is my matrix.