Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有可能删除树状图并保持行名和列名的排序,就像它使用的那样dendrogram = 'both'?
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