Description Usage Arguments Value See Also Examples
This function runs DBSCAN with the specified arguments to compute new clusters on a umapscan object. Only points which don't have an already validated cluster are taken into account.
1 2 3 4 5 6 7 8 9 10 | clust_compute(
us,
parent = "",
noise_only = FALSE,
eps,
minPts,
graph = TRUE,
alpha = 1,
ellipses = TRUE
)
|
us |
umapscan object |
parent |
name of the parent cluster |
noise_only |
only compute clusters for current 'Noise' points |
eps |
|
minPts |
|
graph |
if TRUE, display a plot of the computed clusters |
alpha |
point transparency for clusters plot |
ellipses |
if TRUE, plot confidence ellipses around clusters |
Returns an updated umapscan
object, and optionally displays a
clusters plot.
new_umapscan()
, clust_describe()
, clust_plot()
1 2 3 4 5 | 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_compute(us, minPts = 3, eps = 0.45, alpha = 1, parent = "3")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.