Description Usage Arguments Value See Also Examples
Label an umapscan cluster
1 | clust_label(us, id, label)
|
us |
umapscan object |
id |
cluster identifier |
label |
cluster label |
An updated umapscan object (invisibly).
1 2 3 4 5 6 7 | library(dplyr)
iris_num <- iris %>% select_if(is.numeric)
us <- new_umapscan(iris_num, n_neighbors = 25, min_dist = 0.1, seed = 1337)
us <- clust_compute(us, minPts = 3, eps = 0.5, graph = FALSE)
us <- clust_rename(us, "1", "clust_1")
us <- clust_label(us, "clust_1", "Cluster 1")
us$clusters
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.