Closed PeteHaitch closed 4 years ago
It is done: 14849bf106f840b8cc9df766a54211cbf3d7454d. Note that it literally just skips the simulation step, replacing the simulated doublets with the known doublets and continuing on with the same score calculation.
I toyed with the idea of allowing users to pass in a separate matrix of counts for doublets. This might still be possible but it needs careful consideration about the interaction with size.factors.norm
. I suspect it will not be safe to have both a separate matrix and size.factors.norm
supplied.
I ended up taking out known.doublets
in favor of an explicit doubletRecovery()
function, to avoid the assumption of random doublet formation used in the doubletCells()
score calculation. Enjoy.
Cheers, I'll take it for a spin.
Following up from our Slack convo: