sp_hclust: Hierarchical cluster diagram

Description Usage Arguments Value Examples

Description

Hierarchical cluster diagram

Usage

1
2
3
4
5
6
7
8
sp_hclust(
  data,
  method = "average",
  thresholdZ.k = -2.5,
  saveplot = NULL,
  debug = FALSE,
  ...
)

Arguments

data

A matrix file or an object.

method

Clustering method :"ward.D", "single", "complete", "average", "mcquitty", "median", "centroid", "ward.D2"

thresholdZ.k

Threshold for defining outliers. First compute the overall corelation of one sample to other samples. Then do Z-score transfer for all correlation values. The samples with corelation values less than given value would be treated as outliers. Default -2.5 meaning -2.5 std.

...

Value

A data frame.

Examples

1
2
3
4
5
x = runif(10)
y = runif(10)
data=cbind(x, y)
rownames(data) = paste("exam", 1:10)
sp_hclust(data)

Tong-Chen/YSX documentation built on Jan. 25, 2021, 2:49 a.m.