Question: How to find the hub genes in the gene co-expression network constructed by WGCNA
gravatar for wangdp123
2.2 years ago by
wangdp123230 wrote:

Hi there,

I have used WGCNA tool to construct a gene co-expression network and identified several modules. I am keen to discover the hub genes (the gene that has the maximum connections with other genes in a module) in each module. Does anybody know how to pinpoint the hub genes? Via which scripts or functions?

Many thanks,



hub gene wgcna • 5.3k views
ADD COMMENTlink modified 2.2 years ago by Kevin Blighe56k • written 2.2 years ago by wangdp123230
gravatar for Kevin Blighe
2.2 years ago by
Kevin Blighe56k
Kevin Blighe56k wrote:

Easiest way: simply use the chooseTopHubInEachModule function from WGCNA...

Another way: Convert the WGCNA object to an igraph object directly with wgcna2igraph, and then generate hub centrality scores via Kleinberg's metric, part of the igraph package. It does identify nodes/vertices that look like hubs visually when you inspect the graph.

Another way: convert the WGCNA object to Cytoscape and use NetworkAnalyzer plugin to identify hub genes.


ADD COMMENTlink modified 15 months ago • written 2.2 years ago by Kevin Blighe56k

Regarding the third method, if I am not wrong, NetworkAnalyzer simply counts the number of edges connected to a node as degree. The weights are ignored. For weighted network the degree is instead the sum of edge weights a node is connected with. So will that be the correct thing to do?

ADD REPLYlink written 3 months ago by Arindam Ghosh200
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1241 users visited in the last hour