xuranw / MuSiC

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

Error in relative.ab(exprs(bulk.eset)[m.bulk, ]) : Negative entry appears! #56

Closed MichaelPeibo closed 4 years ago

MichaelPeibo commented 4 years ago

Hi I have problem in my own data set,

test = music_prop(bulk.eset = bulk.eset, sc.eset = sc.eset, clusters = 'celltype',
                               samples = 'orig_ident', verbose = T)

Creating Relative Abudance Matrix... Creating Variance Matrix... Creating Library Size Matrix... Used 14304 common genes... Error in relative.ab(exprs(bulk.eset)[m.bulk, ]) : Negative entry appears!

what could be potential problem in my bulk.eset?

MichaelPeibo commented 4 years ago

I wrongly used logCPM rather than counts.