assign_clusters: Assign clusters to droplets from EM

View source: R/debris_id.R

assign_clustersR Documentation

Assign clusters to droplets from EM

Description

Assign cluster for each droplet in the test set, along with its cluster probability. These can be retrieved using the droplet_data function. Only allow clusters with at least min_drop droplets.

Usage

assign_clusters(x)

Arguments

x

An SCE object.

Value

An SCE object.

Examples



sce <- assign_clusters(sce, type="test")
drop_data <- droplet_data(sce)
table(drop_data[,"Cluster"])
summary(drop_data[,"ClusterProb"])



marcalva/diem documentation built on Jan. 1, 2023, 2:33 a.m.