Identify doublets in single-cell RNA-seq data
masterScrublet identifies doublets in single-cell RNA-seq data using a raw (unnormalized) UMI counts matrix where cells are rows and genes are columns.
To use Scrublet, initialize the Scrublet class with your counts_matrix, then call scrub_doublets() to obtain doublet scores and predictions.
doublet_scores: A continuous score between 0 and 1 for each cell.predicted_doublets: A boolean array whereTrueindicates a predicted doublet andFalseindicates a single cell.
import scrublet as scr
scrub = scr.Scrublet(counts_matrix)
doublet_scores, predicted_doublets = scrub.scrub_doublets()