Importing WGCNA edge and node files into Cytoscape

I’ve used the WGCNA packages (horvath.genetics.ucla.edu/html/CoexpressionNetwork/Rpackages/WGCNA/) to generate edge and node files for use in Cytoscape.

cyt = exportNetworkToCytoscape(modTOM,
edgeFile = file.path("./environment", paste(label, "_CytoscapeInput-edges-", paste(modules, collapse="-"), ".txt", sep="")),
nodeFile = file.path("./environment", paste(label, "_CytoscapeInput-nodes-", paste(modules, collapse="-"), ".txt", sep="")),
weighted = TRUE,
threshold = 0.02,
nodeNames = modProbes,
altNodeNames = modGenes,
nodeAttr = moduleColors[inModule])

I’ve read about importing these to Cytoscape here Importing Network From Wgcna Into Cytoscape

However, when I import, I can’t get the node names to appear (see image linked below). Any help please!

1drv.ms/u/s!AvBi5ipmBYfrhdd1q52dWajjWl9NgA?e=iw8dLB

Read more here: Source link