PyWGCNA icon indicating copy to clipboard operation
PyWGCNA copied to clipboard

In the module Network Plot, Can we label the node as gene_name instead of gene_id ?

Open davidbinod opened this issue 2 months ago • 2 comments

Hello, I was learning WGCNA with the PyWGCNA program. It was easy to run. Thank you for developing this program. I have just an issue with a module Network Plot. In the network fig, It labeled gene_id in the node, but I want to label it as gene_name. On clicking on the node, it shows the gene_name but I want to label the node with gene_name, not with gene_id. Would you please instruct me on how to do that? I appreciate your help. Thanks,

davidbinod avatar Apr 06 '24 18:04 davidbinod

Hi,

Thank you for your kind comments. If you initiate the PyWGCNA object with gene expression data in a way that indexes are gene names rather than gene IDs then it should show each node with the corresponding gene name (index).

Best, Narges

nargesr avatar Apr 08 '24 21:04 nargesr

Thank you for the reply. I will try and let you know. binod

On Mon, Apr 8, 2024 at 5:14 PM Narges Rezaie @.***> wrote:

Hi,

Thank you for your kind comments. If you initiate the PyWGCNA object with gene expression data in a way that indexes are gene names rather than gene IDs then it should show each node with the corresponding gene name (index).

Best, Narges

— Reply to this email directly, view it on GitHub https://github.com/mortazavilab/PyWGCNA/issues/96#issuecomment-2043653204, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXPKO7PTWFR7TDKCOCLR6YTY4MCEHAVCNFSM6AAAAABF2UO7LOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBTGY2TGMRQGQ . You are receiving this because you authored the thread.Message ID: @.***>

davidbinod avatar Apr 09 '24 15:04 davidbinod