How to calculate the shortest path between each pairs of genes in WGCNA
1
0
Entering edit mode
5.2 years ago
Ati ▴ 40

I would like to have the shortest path or distance between different pairs of genes in a network constructed by WGCNA R package.

wgcna R gene co-expression analysis • 2.5k views
ADD COMMENT
0
Entering edit mode
5.2 years ago

If you want to do it in python, https://networkx.github.io check Shortest Paths

If you want to do it in R, https://igraph.org/redirect.html check shortest.paths

ADD COMMENT
0
Entering edit mode

Thanks for the reply. Then which output should be used (Adjacency, TOM or dissTOM)?

ADD REPLY
0
Entering edit mode

You have to use one of the export network functions to get the network from WGCNA.

ADD REPLY

Login before adding your answer.

Traffic: 2223 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6