graph_from_adjacency_matrix
function from the igraph
package to convert the network in sparse adjacency matrix format into igraph
network object.sparseAdjMat.to.igraph(sparseAdjMat, mode = "directed")
dgCMatrix
from package Matrix
).
NOTE: for directed graphs the friend IDs pointing into vertex i
are assumed to be listed in the column i
igraph::graph_from_adjacency_matrix
, specifies how igraph should interpret the supplied matrix.
See ?igraph::graph_from_adjacency_matrix
for details.DAG.net
.network
; igraph.to.sparseAdjMat
; sparseAdjMat.to.NetInd
; NetInd.to.sparseAdjMat
;