You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for the wonderful package to analyse CITE-seq. I'm having an error while running dsb and below is the code and error message:
pt.pp.dsb(filtered, raw, empty_counts_range=(2, 3), random_state=1)
Having below error message: ValueError: Fitting the mixture model failed because some components have ill-defined empirical covariance (for instance caused by singleton or collapsed samples). Try to decrease the number of components, or increase reg_covar.
Could help me to figure out what causing the error?
The text was updated successfully, but these errors were encountered:
I think this is justifiable to force the model to fit and to extract that background mean. In the second step of dsb each cell's the lower mean from a 2 component mxture is combined with isotype control antibodies. The isotype controls robustify the estimate of technical variation for any one cell with a poor 2 component mixture. Cells with a poor mixture fit could in theory be flagged in the stats returned by the updated versions of dsb, however that would require different data structures in python which should probably be avoided. Might it be possible to add this as a one line patch on your end? If you want me to do a pr let me know.
By the way re muon: our feature complete version of dsb has a couple updates and a new function for datasets without access to empty drops; it would be awesome to add these to muon to harmonize the method available in R and python. (I can bring that up in a separate discussion).
Thank you for the wonderful package to analyse CITE-seq. I'm having an error while running dsb and below is the code and error message:
pt.pp.dsb(filtered, raw, empty_counts_range=(2, 3), random_state=1)
Having below error message:
ValueError: Fitting the mixture model failed because some components have ill-defined empirical covariance (for instance caused by singleton or collapsed samples). Try to decrease the number of components, or increase reg_covar.
Could help me to figure out what causing the error?
The text was updated successfully, but these errors were encountered: