db_DoubletDetection | R Documentation |
This function performs doublet-calling using the doubletdetection(python) package on a Seurat object.
db_DoubletDetection(srt, assay = "RNA", db_rate = ncol(srt)/1000 * 0.01, ...)
srt |
A Seurat object. |
assay |
The name of the assay to be used for doublet-calling. Default is "RNA". |
db_rate |
The expected doublet rate. Default is calculated as ncol(srt) / 1000 * 0.01. |
... |
Additional arguments to be passed to doubletdetection.BoostClassifier function. |
data("pancreas_sub")
pancreas_sub <- db_DoubletDetection(pancreas_sub)
CellDimPlot(pancreas_sub, reduction = "umap", group.by = "db.DoubletDetection_class")
FeatureDimPlot(pancreas_sub, reduction = "umap", features = "db.DoubletDetection_score")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.