This function performs doublet-calling using the doubletdetection(python) package on a Seurat object.
Usage
db_DoubletDetection(srt, assay = "RNA", db_rate = ncol(srt)/1000 * 0.01, ...)
Examples
if (FALSE) { # \dontrun{
data("pancreas_sub")
pancreas_sub <- db_DoubletDetection(pancreas_sub)
CellDimPlot(
srt = pancreas_sub,
reduction = "umap",
group.by = "db.DoubletDetection_class"
)
FeatureDimPlot(
srt = pancreas_sub,
reduction = "umap", features = "db.DoubletDetection_score"
)
} # }