| db_scds | R Documentation | 
This function performs doublet-calling using the scds package on a Seurat object.
db_scds(
  srt,
  assay = "RNA",
  db_rate = ncol(srt)/1000 * 0.01,
  method = c("hybrid", "cxds", "bcds"),
  ...
)
| 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. | 
| method | The method to be used for doublet-calling. Options are "hybrid", "cxds", or "bcds". | 
| ... | Additional arguments to be passed to scds::cxds_bcds_hybrid function. | 
data("pancreas_sub")
pancreas_sub <- db_scds(pancreas_sub, method = "hybrid")
CellDimPlot(pancreas_sub, reduction = "umap", group.by = "db.scds_hybrid_class")
FeatureDimPlot(pancreas_sub, reduction = "umap", features = "db.scds_hybrid_score")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.