Is there any possibility to delete dendrogram plot and remain ordering of rownames and colnames like it works with dendrogram = 'both'
?
Eg
d3heatmap(mtcars, colors = 'Blues')
d3heatmap(mtcars, dendrogram = 'none', colors = 'Blues')
Both outputs look different but I want to get the same plot as in the first example without dendrogram. Is it possible?
Try this:
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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.