xuranw / MuSiC

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

Not enough common genes #127

Closed Jieran-S closed 4 months ago

Jieran-S commented 4 months ago

Whenever I run this package, I always come across this issue using music_prop:

Creating Relative Abudance Matrix...
Creating Variance Matrix...
Creating Library Size Matrix...
Used 126 common genes...
Used 8 cell types in deconvolution...
SBR_F49_0021_P22_V11 has common genes 126 ...
Error in music.iter(Yjg.temp, D1.temp, M.S, Sigma.temp, iter.max = iter.max,  : 
  Not enough common genes!

I use a matrix (gene x cell) as the bulk-seq matrix and a sce object for single-cell references.

Clearly I have enough common genes overlapping between the two objects yet I still got this error persistently. There's a bug in their source code but before I changed it, I wanted to post it here and see if anyone is experiencing the same error???

Thanks

Jieran-S commented 4 months ago

OK find a solution on #92 close this issue