ja stosując poniższą funkcję utworzyć mapę cieplną z matrycy 48 x 32 kolumny rzędachBłąd .External.graphics R
heatmap.2(all.data,Rowv = FALSE, Colv = FALSE, trace="none",main="All data",col=colorRampPalette(c("green","yellow","red")))
To daje mi pewne ostrzeżenia ze względu na usunięcie dendograms , ale mimo to dał mi mapę cieplną chciałem plus klucz kolorów, coś się stało i teraz gdy próbuję uruchomić samo to daje mi działkę bez klucza kolorów i błąd:
Error in plot.new() : figure margins too large
In addition: Warning messages:
1: In heatmap.2(all.data, Rowv = FALSE, Colv = FALSE, trace = "none", :
Discrepancy: Rowv is FALSE, while dendrogram is `both'. Omitting row dendogram.
2: In heatmap.2(all.data, Rowv = FALSE, Colv = FALSE, trace = "none", :
Discrepancy: Colv is FALSE, while dendrogram is `none'. Omitting column dendogram.
jeśli zmienię marginesy do 1 dla wszystkich stron:
par(mar=c(1,1,1,1))
heatmap.2(all.data,Rowv = FALSE, Colv = FALSE, trace="none",main="All data",col=colorRampPalette(c("green","yellow","red")))
i spróbuj ponownie nie zrobić mapę cieplną i daje mi ten błąd:
Error in .External.graphics(C_layout, num.rows, num.cols, mat, as.integer(num.figures), :
invalid graphics state
In addition: Warning messages:
1: In heatmap.2(all.data, Rowv = FALSE, Colv = FALSE, trace = "none", :
Discrepancy: Rowv is FALSE, while dendrogram is `both'. Omitting row dendogram.
2: In heatmap.2(all.data, Rowv = FALSE, Colv = FALSE, trace = "none", :
Discrepancy: Colv is FALSE, while dendrogram is `none'. Omitting column dendogram.
Próbowałem też dodanie do klawisza funkcyjnego = T, ale kluczem jest kolor nadal nie pojawia się w HeatMap każda pomoc będzie bardzo ceniona !!!