【pheatmap热图scale报错】Error in hclust(d, method = method):NA/NaN/Inf in foreign function call (arg 11)
初始数据类似如下:image.png填充下缺失值data[data==0]<-NAdata[is.na(data)]<-min(data,na.rm=T)*0.01pheatmap(log10(data))pheatmap(data,scale="row")直接取log绘制不报错,但做scale时报错:Errorinhclust(d,method=method):NA/NaN/Infinforei