This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Do I need to perform basic filtering before using scrublet?

Hello,

I am analyzing single cell gene expression data and I would like to use scrublet to remove doublets. Do I need to perform basic filtering like shown below before using scrublet or should I just use scrublet right after importing the h5 matrix file?

Basic filtering:

sc.pp.filter_cells(sample, min_genes=200)

sc.pp.filter_genes(sample, min_cells=3)

Thank you

scanpy scrublet

1 answer

You can perform doublet detection before your basic filtering too but if you do after it will much faster in memory wise.

Log in to answer this question.