make_reduced_igraph | R Documentation |
igraph
object for a reduced networkTurns a reduced adjacency matrix (usually output from make_reduced
) into an
igraph
object. This function requires igraph to work.
make_reduced_igraph(reduced_mat)
reduced_mat |
A reduced network adjacency matrix (typically outputted from
|
A directed and unweighted igraph
object for the reduced matrix.
make_reduced
a <- matrix(c(0, 0, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0), ncol = 4)
rownames(a) <- c("a", "b", "c", "d")
colnames(a) <- c("a", "b", "c", "d")
r_mat <- make_reduced(list(a), nsplit = 1)
make_reduced_igraph(r_mat$reduced_mat[[1]])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.