5 WGCNA 我使用R包已经运行完软阈值,在进行共表达数据挖掘时,软件一直提示错误,求助

我使用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'

请先 登录 后评论

1 个回答

调研图

这个是计算相关系数的方法你没有指定

请先 登录 后评论