sp_hclust: Hierarchical cluster diagram

sp_hclustR Documentation

Hierarchical cluster diagram

Description

Hierarchical cluster diagram

Usage

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

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


Tong-Chen/ImageGP documentation built on April 14, 2025, 12:54 p.m.