Description Usage Arguments Value See Also Examples
Rename an umapscan cluster identifier
1 | clust_rename(us, old, new)
|
us |
umapscan object |
old |
current cluster identifier |
new |
new cluster identifier |
An updated umapscan object (invisibly). If two clusters have the same identifier after renaming, they are merged together.
1 2 3 4 5 6 | 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)
clust_rename(us, "1", "Cluster 1")
us
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.