xuranw / MuSiC

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

Problems with sample identification #16

Open ElHirad opened 5 years ago

ElHirad commented 5 years ago

Hi. I have encountered this problem in my code. what is going on?

tmp <- music_prop(bulk.eset = rd, sc.eset = ad, clusters = 'cellType',
+            samples = 'sampleID', verbose = F)
Error in music_prop(bulk.eset = rd, sc.eset = ad, clusters = "cellType",  : 
  Too few common genes!
xuranw commented 5 years ago

Hi,

How many common genes are there in rd and ad? If the number of common genes are less than 10% of the min(number of bulk genes, number of sc genes), you will recieve this warning.

Best, Xuran