DendrouLab / panpipes

Multi-modal single cell analysis pipelines
BSD 3-Clause "New" or "Revised" License
51 stars 9 forks source link

dsb does not run when intersection is False #1

Open JHYSiu opened 1 year ago

JHYSiu commented 1 year ago

dsb does not run when half the samples are rna + adt, half the samples are rna only (and no intersection between rna,adt is taken).

fix is to take the intersection of the background: mu.pp.intersect_obs(mdata_bg) prior to mu.prot.pp.dsb

wlason commented 6 months ago

I ran into the same problem in panpipes v0.4.1 and the solution given by @JHYSiu solves the issue.