2016-07-29 14 views
0

樹状図を削除してもよいかどうかは、dendrogram = 'both'と同じようにrownamesとcolnamesの順序を維持していますか?d3heatmap - 樹形図のない樹状図の行名と列名

など。

d3heatmap(mtcars, colors = 'Blues') 


d3heatmap(mtcars, dendrogram = 'none', colors = 'Blues') 

両方の出力が異なって見えるが、私は、樹状図のない最初の例と同じプロットを取得したいです。出来ますか?

答えて

1

これを試してみてください:

a <- d3heatmap(mtcars, dendrogram = 'both', colors = 'Blues') 
b <- d3heatmap(mtcars, dendrogram = 'none', colors = 'Blues') 
b$x$matrix <- a$x$matrix 
b$x$image <- a$x$image 
b 
関連する問題