powers = c(c(1:12), seq(from = 10, to=20, by=2)) > sft = pickSoftThreshold(datExpr, powerVector = powers, verbose = 5) pickSoftThreshold: calculating connectivity for given powers... ..working on genes 1 through 1000 of 631066 Error in cor(data, data[, c(startG:endG)], use = "p") : 'x' has a zero dimension. In addition: Warning message: In is.na(cols) : is.na() applied to non-(list or vector) of type 'NULL'
I am getting error as shown above while using the soft thresholding code. .please help me [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.