single-cell-best-practices icon indicating copy to clipboard operation
single-cell-best-practices copied to clipboard

Switch size factor analysis to pyDESeq2

Open abearab opened this issue 10 months ago • 2 comments

Here there is a size factor calculation in R which can be painful (i.e. setting up stable environment, etc.) ! I would use pyDESeq2 since it's now a well maintained python tool.

from pydeseq2 import preprocessing
_, size_factors = preprocessing.deseq2_norm(adata.X)

abearab avatar Apr 16 '24 19:04 abearab

Hey,

generally in favor of this. It will happen at some point. PRs are generally welcome!

Zethson avatar Apr 16 '24 19:04 Zethson

Cool!

abearab avatar Apr 16 '24 19:04 abearab