doublet identification within batch

withinSampleDoublets(sce, altExp_name = NULL, eps = 200, minPts = 50)

Arguments

sce

a SingleCellExperiment

altExp_name

expression name of HTO matrix

eps

eps of DBSCAN

minPts

minPts of DBSCAN

Value

A SingleCellExperiment object

Examples

data(CITEseq_example, package = "CiteFuse") sce_citeseq <- preprocessing(CITEseq_example) sce_citeseq <- normaliseExprs(sce = sce_citeseq, altExp_name = "HTO", transform = "log") sce_citeseq <- crossSampleDoublets(sce_citeseq)
#> number of iterations= 20 #> number of iterations= 24 #> number of iterations= 46 #> number of iterations= 50
sce_citeseq <- withinSampleDoublets(sce_citeseq, minPts = 10)