both.cluster: row- and column-cluster a matrix

View source: R/cluster.R

both.clusterR Documentation

row- and column-cluster a matrix

Description

row- and column-cluster a matrix

Usage

both.cluster(
  mat,
  extra.row = NULL,
  extra.column = NULL,
  hc.method = "ward.D2",
  dist.method = "euclidean"
)

Arguments

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

Value

a list of clustered row, column and matrix

Examples

WHeatmap(both.cluster(matrix(rnorm(100),nrow=10))$mat)

wheatmap documentation built on March 18, 2022, 6:43 p.m.