applyCutoffs {CATALYST} | R Documentation |
Applies separation and mahalanobies distance cutoffs.
applyCutoffs(x, ...) ## S4 method for signature 'dbFrame' applyCutoffs(x, mhl_cutoff = 30, sep_cutoffs = NULL)
x |
a |
... |
optional arguments. |
mhl_cutoff |
mahalanobis distance threshold above which events should be unassigned.
This argument will be ignored if the |
sep_cutoffs |
non-negative numeric of length one or of same length as the number of rows
in the |
Will update the bc_ids
and, if not already specified,
sep_cutoffs
& mhl_cutoff
slots of x
.
Helena Lucia Crowell helena.crowell@uzh.ch
Zunder, E.R. et al. (2015). Palladium-based mass tag cell barcoding with a doublet-filtering scheme and single-cell deconvolution algorithm. Nature Protocols 10, 316-333.
data(sample_ff, sample_key) re <- assignPrelim(x = sample_ff, y = sample_key) # use global separation cutoff applyCutoffs(x = re, sep_cutoffs = 0.4) # estimate population-specific cutoffs re <- estCutoffs(x = re) applyCutoffs(x = re)