这个是计算相关系数的方法你没有指定
我使用R包已经运行完软阈值,在做模板聚类图时,软件一直提示错误
代码
pow=7
net = blockwiseModules(datExpr, power = pow, maxBlockSize = 9000,
TOMType = "unsigned", minModuleSize = 30,
reassignThreshold = 0, mergeCutHeight = 0.25,
numericLabels = TRUE, pamRespectsDendro = FALSE,
saveTOMs = TRUE,
saveTOMFileBase = "FPKM-TOM",
verbose = 3)
运行结果
Calculating module eigengenes block-wise from all genes
Flagging genes and samples with too many missing values...
..step 1
Error in goodGenes(datExpr, weights, goodSamples, goodGenes, minFraction = minFraction, :
datExpr must contain numeric data.
然后我又试了一个,Rnet = blockwiseModules(dataExpr, power =7, maxBlockSize =9000, TOMType = type, minModuleSize = 30, reassignThreshold = 0, mergeCutHeight = 0.25, numericLabels = TRUE, pamRespectsDendro = FALSE, saveTOMs=TRUE, corType = corType, maxPOutliers=maxPOutliers, loadTOMs=TRUE, saveTOMFileBase = paste0(exprMat, ".tom"), verbose = 3)
提示错误 Error in pmatch(corType, .corTypes) : 找不到对象'corType'