Heatmap热图报错Error in hclust(get_dist(submat, distance), method = method) : 外接函数调用时不能有NA/NaN/Inf(arg10) test <- data[apply(data, 1, function(x) sd(x)!=0),] 再做scale 3、 datexpr2=as.data.frame(lapply(datexpr,as.numeric))##数据框中的字符型数字全部转为数值型数字 ...