Biostars beta testing.
Question: How to calculate the shortest path between each pairs of genes in WGCNA
0
Entering edit mode

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

ADD COMMENTlink 12 months ago abc • 30 • updated 12 months ago Benn 6.9k
0
Entering edit mode

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 COMMENTlink 12 months ago geek_y 9.7k
Entering edit mode
0

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

ADD REPLYlink 12 months ago
abc
• 30
Entering edit mode
0

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

ADD REPLYlink 12 months ago
geek_y
9.7k

Login before adding your answer.

Similar Posts
Loading Similar Posts
Powered by the version 2.0