sp_hclust | R Documentation |
Hierarchical cluster diagram
sp_hclust(
data,
method = "average",
thresholdZ.k = -2.5,
saveplot = NULL,
debug = FALSE,
...
)
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. |
... |
A data frame.
x = runif(10)
y = runif(10)
data=cbind(x, y)
rownames(data) = paste("exam", 1:10)
sp_hclust(data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.