clust_get_data: Get an umapscan cluster data

Description Usage Arguments Value See Also Examples

View source: R/clustering.R

Description

Get an umapscan cluster data

Usage

1

Arguments

us

umapscan object

id

cluster id to retrieve

Value

1 data frame with the data and data_sup variables of the cluster observations

See Also

clust_compute(), clust_describe(), clust_rename()

Examples

1
2
3
4
5
6
library(dplyr)
iris_num <- iris %>% select_if(is.numeric)
iris_sup <- iris %>% select(Species)
us <- new_umapscan(iris_num, data_sup = iris_sup, n_neighbors = 25, min_dist = 0.1, seed = 1337)
us <- clust_compute(us, minPts = 3, eps = 0.5)
clust_get_data(us, "1")

juba/umapscan documentation built on Aug. 29, 2020, 7:31 a.m.