% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ppi_analysis.R
\name{get_top_hubs}
\alias{get_top_hubs}
\title{Get Top Hub Genes by Betweenness Centrality}
\usage{
get_top_hubs(g, top_n = 10, directed = FALSE)
}
\arguments{
\item{g}{An `igraph` object representing the network.}

\item{top_n}{Integer. Number of top hub nodes to return. Default is 10.}

\item{directed}{Logical. Whether the network is directed. Default is FALSE.}
}
\value{
A named numeric vector of betweenness scores for the top hub nodes.
}
\description{
Computes normalized betweenness centrality for an igraph network and
returns the top N hub nodes ranked by centrality.
}
