db_scDblFinder: Run doublet-calling with scDblFinder

View source: R/SCP-cellqc.R

db_scDblFinderR Documentation

Run doublet-calling with scDblFinder

Description

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, ...)

Arguments

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 scDblFinder::scDblFinder function.

Examples

data("pancreas_sub")
pancreas_sub <- db_scDblFinder(pancreas_sub)
CellDimPlot(pancreas_sub, reduction = "umap", group.by = "db.scDblFinder_class")
FeatureDimPlot(pancreas_sub, reduction = "umap", features = "db.scDblFinder_score")

zh542370159/SCP documentation built on Nov. 22, 2023, 2:34 a.m.