Describe clusters of an umapscan object

describe_clusters(us, parent = "", type = c("boxplot", "ridges"))

Arguments

us

umapscan object to describe clusters

parent

name of the parent cluster

type

plot type, either "boxplot" or "ridges"

See also

Examples

library(dplyr) iris_num <- iris %>% select_if(is.numeric) us <- new_umapscan(iris_num, n_neighbors = 25, min_dist = 0.1, seed = 1337) us <- compute_clusters(us, minPts = 3, eps = 0.5)
describe_clusters(us)
us <- compute_clusters(us, minPts = 3, eps = 0.45, parent = "3")
describe_clusters(us, type = "ridge")
#> Picking joint bandwidth of 0.145
#> Picking joint bandwidth of 0.0744
#> Picking joint bandwidth of 0.178
#> Picking joint bandwidth of 0.115
describe_clusters(us, parent = "3")