Cluster Matrix Rows in Annotated Heatmaps
cluster_mat(mat, param, distfun, hclustfun, reorderfun,
na.rm = TRUE, subset = NULL, verbose = FALSE)
original input matrix that has already been
appropriately subset in the caller function
(aheatmap
)
clustering specifications
Default distance method/function
Default clustering (linkage) method/function
Default reordering function
Logical that specifies if NA values should be removed
index (integer) vector specifying the subset indexes used to subset mat. This is required to be able to return the original indexes.