SCDC icon indicating copy to clipboard operation
SCDC copied to clipboard

Error running SCDC_prop

Open caiquanyou opened this issue 4 years ago • 1 comments

I got an Error when running SCDC_prop below:

> x_scdc_prop<-SCDC_prop(bulk.eset = x_bset,sc.eset = eset, ct.varname = 'cellType', + sample = 'samplesID',ct.sub = c('in_neuron', 'ex_neuron', 'oligodendrocyte', 'endothelial', + 'astrocyte', 'microglia'),iter.max = 1000,nu = 1e-04, + epsilon = 0.01) Error in y[y < q15] <- q15[y < q15] : NAs are not allowed in subscripted assignments

I do not know how to fix it ,could you please have any ideas? Best, Cqy

caiquanyou avatar Sep 21 '20 10:09 caiquanyou

Hi @caiquanyou , Sorry for the late response. Generally when you have this error, it might be that your single cell dataset 'samplesID' only has one level. In this case, we recommend you to use the function SCDC_prop_ONE() function instead of SCDC_prop() function. Please let me know if you have further questions. I can be reached by [email protected].

Best, Meichen

meichendong avatar Feb 17 '21 19:02 meichendong