View source: R/supraAdjacencyMatrix.R
convert_to_supra_adjacency | R Documentation |
Convert Multilayer Network to Supra-Adjacency Matrix (SAM)
convert_to_supra_adjacency(
igraph_list,
layer_names = NULL,
interlayer_weight = 1,
isDirected = TRUE,
sparse = TRUE,
use_names = FALSE,
interlayer = TRUE,
clean = TRUE
)
igraph_list |
A list of |
layer_names |
(Optional) A vector of names for each layer. |
interlayer_weight |
Numeric, the weight for interlayer links (default: 1). |
isDirected |
Logical, whether the network is directed. |
sparse |
Logical, whether to return the supra-adjacency matrix as a sparse matrix (default: TRUE). |
use_names |
Logical; if |
interlayer |
Logical; if |
clean |
Logical; if |
A list with:
supra_matrix |
Supra-adjacency matrix with optional inter-layer links. |
state_nodes_map |
Mapping of state nodes (layer-node combinations). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.