This function performs doublet-calling using the scDblFinder package on a Seurat object.
Usage
db_scDblFinder(srt, assay = "RNA", db_rate = ncol(srt)/1000 * 0.01, ...)
Examples
data("pancreas_sub")
pancreas_sub <- db_scDblFinder(pancreas_sub)
CellDimPlot(
srt = pancreas_sub,
reduction = "umap",
group.by = "db.scDblFinder_class"
)
#> Warning: No shared levels found between `names(values)` of the manual scale and the
#> data's fill values.
FeatureDimPlot(
srt = pancreas_sub,
reduction = "umap",
features = "db.scDblFinder_score"
)