1
我想在熱圖使用遊:打破了熱圖
col_breaks = c(seq(-4,-1.99999,length=100),
seq(-2,1.999999,length=100),
seq(2,4,length=100));
png("../graphs/mRNA_levels.png",
width = 5*300,
height = 5*300,
res = 300,
pointsize = 8
);
heatmap.2(x = t(scale(t(exp.data.breast))),
main = "chemokine levels in tumour samples",
trace = "none",
margins = c(5,5),
col = my_palette,
breaks=col_breaks
);
我得到這個錯誤。
錯誤image.default(1:NC,1:NR,X,XLIM = 0.5 + C(0,NC),ylim = 0.5 +: 必須有一個比色破
任何人可以解釋這個問題是一個簡單的方法是什麼