scverse / scvi-tools

Deep probabilistic analysis of single-cell and spatial omics data
http://scvi-tools.org/
BSD 3-Clause "New" or "Revised" License
1.16k stars 341 forks source link

Implement conditional batch/layer normalization #2349

Open martinkim0 opened 7 months ago

canergen commented 7 months ago

You can copy this one from the muANVI repo and I would add a second batch key in the AnnData setup, only used for conditional norm in the encoder. We should also copy the MoG prior from there.