scde icon indicating copy to clipboard operation
scde copied to clipboard

error in calculating models

Open jingjiai opened this issue 2 years ago • 0 comments

Hi, I'm getting an error while running :

o.ifm <- scde.error.models(counts = cleandata, groups = clusters, n.cores = 1, threshold.segmentation = TRUE, save.crossfit.plots = FALSE, save.model.plots = FALSE, verbose = 1)

cross-fitting cells. Error in tapply(colnames(counts), groups, function(ids) { :" The parameters must be of the same length

but my cleandata and clusters seem to be right :

table(clusters) clusters Neuron Oligodendrocyte aNSC+TAC+NB OPC COP 1021 5365 4789 518 322 Astrocyte 10249 cleandata <- clean.counts(data_29319, min.lib.size=1000, min.reads = 1, min.detected = 1)

Thanks!

jingjiai avatar Oct 26 '21 13:10 jingjiai