View source: R/ClusterStabilityAnalysis.R
Get consensus clusters and measures of cluster stability. Temp function to use Jaccard distance as input. Will replace consensus_and_stability after testing
1 2 | consensus_and_stability(clust_iter_list = NULL,
clust_iter_table = NULL, jac_and_clusters = NULL)
|
clust_iter_list |
a list of lists. First level list is just all the iterations. Second level (inner) list is a list of each cluster, each one containing the indices of all the original datapoints assigned to that cluster |
clust_iter_table |
a matrix with each column as separate iteration of cluster assignments (same length as full or initially sampled dataset) –note that there should be NAs in this table because we want clustering iterations from samples of the dataset (to see how stable clusters are) |
jac_and_clusters |
df of jaccard distances and clusters, as outputted by get_jaccard_and_clusters |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.