xuranw / MuSiC

Multi-subject Single Cell Deconvolution
https://github.com/xuranw/MuSiC
GNU General Public License v3.0
220 stars 83 forks source link

Error in solve.default(t(D.weight) %*% D.weight) : system is computationally singular: reciprocal condition number = 1.20065e-19 #124

Open faeneeR opened 8 months ago

faeneeR commented 8 months ago

Thanks for you powerful pachage.

Here, when I followed the tutorial for Estimation of cell type proportions with pre-grouping of cell types, I met an error. image

And I don't know how to fix it. Eager to receive your reply.

Thanks a lot!

JoyOtten commented 7 months ago

I have the same issue right now, were you able to solve it?

yeaon615 commented 1 month ago

When I encountered this issue, I also faced it when selecting a repeated cell type. The error disappeared when I chose a cell type that was not repeated.

yeaon615 commented 1 month ago

When I encountered this issue, I also faced it when selecting a repeated cell type. The error disappeared when I chose a cell type that was not repeated.

However, I noticed that your issue occurred after running several samples, while mine occurred when running the first sample. It's possible that our reasons for the problem are different.