cluster.molecule {DiffCorr} | R Documentation |
Hierarchical clustering of molecules
Description
Cluster molecules
Usage
cluster.molecule(
data,
method = "pearson",
linkage = "average",
absolute = FALSE
)
Arguments
data |
matrix or data frame |
method |
c("pearson", "spearman", "kendall", "euclidean", "maximum", "manhattan", "canberra", "binary", or "minkowski") |
linkage |
c("average", "ward", "single", "complete", "mcquitty", "median", "centroid") |
absolute |
if TRUE, then 1-|COR| else 1-COR, default is FALSE |
Value
an object of class 'hclust'
Author(s)
Atsushi Fukushima
Examples
cluster.molecule(as.matrix(t(iris[,1:4])), "pearson", "average")
[Package DiffCorr version 0.4.3 Index]