Identification of heterotypic (or neotypic) doublets in single-cell RNAseq data.
Usage
RunDoubletCalling(
  srt,
  assay = "RNA",
  db_method = "scDblFinder",
  db_rate = ncol(srt)/1000 * 0.01,
  ...
)Arguments
- srt
- A Seurat object. 
- assay
- The name of the assay to be used for doublet-calling. Default is "RNA". 
- db_method
- Doublet-calling methods used. Can be one of - scDblFinder,- Scrublet,- DoubletDetection,- scds_cxds,- scds_bcds,- scds_hybrid
- db_rate
- The expected doublet rate. By default this is assumed to be 1% per thousand cells captured (so 4% among 4000 thousand cells), which is appropriate for 10x datasets. 
- ...
- Arguments passed to the corresponding doublet-calling method. 
Value
Returns Seurat object with the doublet prediction results and prediction scores stored in the meta.data layer.
Examples
data("pancreas_sub")
pancreas_sub <- RunDoubletCalling(pancreas_sub, db_method = "scDblFinder")
#> Warning: The following arguments are not used: drop
#> Warning: The following arguments are not used: drop
#> Error in as.vector(data): no method for coercing this S4 class to a vector
CellDimPlot(pancreas_sub, reduction = "umap", group.by = "db.scDblFinder_class")
#> Error in CellDimPlot(pancreas_sub, reduction = "umap", group.by = "db.scDblFinder_class"): db.scDblFinder_class is not in the meta.data of srt object.
FeatureDimPlot(pancreas_sub, reduction = "umap", features = "db.scDblFinder_score")
#> Warning: db.scDblFinder_score are not in the features of srt.
#> Error in FeatureDimPlot(pancreas_sub, reduction = "umap", features = "db.scDblFinder_score"): There are no valid features present.