View source: R/compute_central_graph.R
| compute_central_graph | R Documentation |
This function computes the central graph for a given population by averaging the adjacency matrices of all graphs within that population.
compute_central_graph(graph_list)
graph_list |
A list of adjacency matrices representing brain networks. |
A single adjacency matrix representing the central graph of the population.
# Generate synthetic Control data
Control <- list(
generate_random_graph(n_nodes = 5, edge_prob = 0.1),
generate_random_graph(n_nodes = 5, edge_prob = 0.1)
)
central_graph <- compute_central_graph(Control)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.