繁体   English   中英

d3heatmap-没有树状图的树状图行名和列名

[英]d3heatmap - dendrogram row names and colnames without dendrogram plot

是否有可能删除树状图,并保持行名和列名的顺序,就像它与dendrogram = 'both'

例如

d3heatmap(mtcars, colors = 'Blues')


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

两种输出看起来都不同,但我想获得与第一个示例一样的图,而没有树状图。 可能吗?

尝试这个:

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

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM