convertAdjacencyToEdgeList <- function(adj){
library(dplyr)
foo <- igraph::graph_from_adjacency_matrix(adj,mode='undirected') %>%
igraph::as_edgelist()
return(foo)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.