% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/compute_central_graph.R
\name{compute_central_graph}
\alias{compute_central_graph}
\title{Compute the Central (Representative) Graph for a Population}
\usage{
compute_central_graph(graph_list)
}
\arguments{
\item{graph_list}{A list of adjacency matrices representing brain networks.}
}
\value{
A single adjacency matrix representing the central graph of the population.
}
\description{
This function computes the central graph for a given population by averaging
the adjacency matrices of all graphs within that population.
}
\examples{
# 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)
}
