是否有可能删除树状图,保持行名和冒号的顺序,就像它与dendrogram = 'both'一样
例如。
d3heatmap(mtcars, colors = 'Blues')
d3heatmap(mtcars, dendrogram = 'none', colors = 'Blues')这两个输出看起来都不一样,但我希望得到与第一个示例相同的没有树状图的图。有可能吗?
发布于 2016-07-29 17:41:00
试试这个:
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
bhttps://stackoverflow.com/questions/38663472
复制相似问题