matrix_order: Reorder Matrices

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/matrix-order.R

Description

Tries to find an order for matrix by different cluster methods.

Usage

1
matrix_order(x, is.cor = TRUE, cluster.method = "complete", ...)

Arguments

x

a matrix-like object.

is.cor

logical value (defaults to TRUE) indicating wheater x is a correlation matrix.

cluster.method

a character string with the name of agglomeration method.

...

extra params passing to hclust.

Details

Now it just supports for square matrix.

Value

a list of hclust object.

Author(s)

Houyun Huang, Lei Zhou, Jian Chen, Taiyun Wei

See Also

hclust.

Examples

1
2
m <- matrix(rnorm(25), nrow = 5)
matrix_order(m)

houyunhuang/ggcor documentation built on July 22, 2020, 8:31 p.m.