Entering edit mode
7.7 years ago
Azhar
▴
50
I have two files for two diff conditions having lncRNA and mRNA expression values combined in each file i want to make interaction networks when i go through example it owrks well but when i use my data sample it gives several errors and problem like
1.
> sft = pickSoftThreshold(datExpr, powerVector = powers, verbose = 5)
pickSoftThreshold: will use block size 773.
pickSoftThreshold: calculating connectivity for given powers...
..working on genes 1 through 773 of 57862
Error in { : task 1 failed - "'x' has a zero dimension."
> # Plot the results:
> sizeGrWindow(9, 5)
2.Error in plot(sft$fitIndices[, 1], -sign(sft$fitIndices[, 3]) * sft$fitIndices[, :
object 'sft' not found
> text(sft$fitIndices[,1], -sign(sft$fitIndices[,3])*sft$fitIndices[,2],
+ labels=powers,cex=cex1,col="red");
Error in text(sft$fitIndices[, 1], -sign(sft$fitIndices[, 3]) * sft$fitIndices[, :
object 'sft' not found
3Error in file(file, "rt") : cannot open the connection
In addition: Warning message:
In file(file, "rt") :
cannot open file 'GeneAnnotation.csv': No such file or directory
.4.Error in exportNetworkToCytoscape(modTOM, edgeFile = paste("CytoscapeInput-edges-", :
Cannot determine node names: nodeNames is NULL and adjMat has no dimnames.
The error originates in
pickSoftThreshold()
. Make sure thatdatExpr
andpowers
are the objects you expect them to be. In addition, usingWGCNA
as a tag for your question would make sense. I'm also not sure why your question would be urgent (or more urgent than other questions).urgent means as soon as possible its just a request any how thanks for reply can you please guide me if I don't want to use clinical data how I can modify this WGCNA code for network construction for simple data file and what is meant by
-x has no dimension error
I am running the code as it is just changing the file name so this error appears
I've removed the term "urgent" from your question. Please do not use words like "urgent" or "emergency" - they don't help your case.