WGCNA TOM file empty
0
0
Entering edit mode
gianni.drm • 0
@eff02fa2
Last seen 21 months ago
Australia

Hello,

My TOM file is empty. It just shows NA, NA, NA, NA, NA

I am trying to export network to VisANT and Cytoscape, following instructions in the online tutorial.

The code I used is:

#PART 5 - Export to External
# Recalculate topological overlap
TOM = TOMsimilarityFromExpr(datExpr, power = 3);
# Read in the annotation file
annot = read.csv(file = "Gene Annotation.csv");
# Select module
module = "brown";
# Select module probes
probes = names(datExpr)
inModule = (moduleColors==module);
modProbes = probes[inModule];
# Select the corresponding Topological Overlap
modTOM = TOM[inModule, inModule];
dimnames(modTOM) = list(modProbes, modProbes)
# Export the network into an edge list file VisANT can read
vis = exportNetworkToVisANT(modTOM,
                            file = paste("VisANTInput-", module, ".txt", sep=""),
                            weighted = TRUE,
                            threshold = 0,

The output file contains no data.

What is happening?

Thank you, Gianni

WGCNA TOM • 730 views
ADD COMMENT

Login before adding your answer.

Traffic: 353 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