call_targets: Call clean droplets after running EM

Description Usage Arguments Value

View source: R/debris_id.R

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

1
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.


diem documentation built on Nov. 16, 2019, 1:08 a.m.