cxds_bcds_hybrid: Find doublets/multiples in UMI scRNA-seq data;

Description Usage Arguments Value Examples

View source: R/cxds_bcds_hybrid.R

Description

Annotates doublets/multiplets using the hybrid approach

Usage

1
2
cxds_bcds_hybrid(sce, cxdsArgs = NULL, bcdsArgs = NULL, verb = FALSE,
  estNdbl = FALSE, force = FALSE)

Arguments

sce

single cell experiment (SingleCellExperiment) object to analyze; needs counts in assays slot.

cxdsArgs

list, arguments for cxds function in list form. Default: NULL

bcdsArgs

list, arguments for bcds function in list form. Default: NULL

verb

logical, switch on/off progress messages

estNdbl

logical, should the numer of doublets be estimated from the data. Enables doublet calls. Default:FALSE. Use with caution.

force

logical, force a (re)run of cxds and bcds. Default: FALSE

Value

sce input sce object SingleCellExperiment with doublet scores added to colData as "hybrid_score" column.

Examples

1
2
3
4
data("sce_chcl")
## create small data set using only 100 cells
sce_chcl_small = sce_chcl[, 1:100]
sce_chcl_small = cxds_bcds_hybrid(sce_chcl_small)

scds documentation built on Nov. 8, 2020, 7:01 p.m.