both.cluster {wheatmap} | R Documentation |
row- and column-cluster a matrix
both.cluster(
mat,
extra.row = NULL,
extra.column = NULL,
hc.method = "ward.D2",
dist.method = "euclidean"
)
mat |
input matrix |
extra.row |
extra row reordering |
extra.column |
extra column reordering |
hc.method |
method to use in hclust |
dist.method |
method to use in dist |
a list of clustered row, column and matrix
WHeatmap(both.cluster(matrix(rnorm(100),nrow=10))$mat)