Learn R Programming

diem (version 1.0)

call_targets: Call clean droplets after running EM

Description

Call cells or nuclei from an SCE object. EM must be run beforehand. The posterior probability is defined as 1 - Prob(Debris), where Prob(Debris) is the posterior probability that a droplet is debris.

Usage

call_targets(x, pp_thresh = 0.95, min_genes = 200)

Arguments

x

An SCE object.

pp_thresh

The minimum posterior probability of a droplet to be classified as a cell/nucleus.

min_genes

The minimum number of genes a droplet must have to be classified as a cell/nucleus.

Value

An SCE object.