pam_clust_from_adj_mat {ConsensusClustering} | R Documentation |
PAM (k-medoids) clustering from adjacency matrix
Description
PAM (k-medoids) clustering from adjacency matrix
Usage
pam_clust_from_adj_mat(adj.mat, k = 2, alpha = 1, adj.conv = TRUE)
Arguments
adj.mat |
adjacency matrix |
k |
number of clusters (default=2) |
alpha |
soft threshold (considered if |
adj.conv |
binary value to apply soft thresholding (default=TRUE) |
Details
apply PAM (k-medoids) clustering on the adjacency matrix
Value
vector of clusters
Examples
Adj_mat = rbind(c(0.0,0.9,0.0),
c(0.9,0.0,0.2),
c(0.0,0.2,0.0))
pam_clust_from_adj_mat(Adj_mat)
[Package ConsensusClustering version 1.5.0 Index]