Entering edit mode
2.9 years ago
Sonia
•
0
Hello, I am new to R....and while running this in R studio, I'm getting this error...please help me out in resolving the error...
sft = pickSoftThreshold(datExpr, powerVector = powers, verbose = 5)
Error in pickSoftThreshold(datExpr, powerVector = powers, verbose = 5) :
could not find function "pickSoftThreshold"
did you try loading
library(WGCNA)
before running the function ? Post your code relevant to your query always.library(WGCNA) has already been loaded...still i am getting this error
Are you sure
library(WGCNA)
did not produce any error ?Error: package or namespace load failed for ‘WGCNA’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): there is no package called ‘impute’
i am getting this error while loading WGCNA
Install impute and you should be fine