row.cluster: row cluster a matrix

View source: R/cluster.R

row.clusterR Documentation

row cluster a matrix

Description

row cluster a matrix

Usage

row.cluster(mat, ..., hc.method = "ward.D2", dist.method = "euclidean")

Arguments

mat

input matrix

...

extra color bars or matrix that needs row reordered.

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(row.cluster(matrix(rnorm(100),nrow=10))$mat)

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