Question: SCDE Package scde.error.models ERROR
0
gravatar for shg018
4 months ago by
shg0180
shg0180 wrote:

Hi everyone

I have been trying to use scde package for single cell differential analysis and I have been getting an error on using:

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

The error is :

o.ifm <- scde.error.models(counts = cd, groups = sg, n.cores = 10, threshold.segmentation = TRUE, save.crossfit.plots = FALSE, save.model.plots = FALSE, verbose = 1) cross-fitting cells. Error in tapply(colnames(counts), groups, function(ids) { : arguments must have same length

which later makes it so that my counts have 51 columns but o.ifm model has just 40 rows. That is my later code doesn't work because of this. My question is basically, how do I rectify this?

Thanks!

rna-seq R single-cell • 205 views
ADD COMMENTlink modified 3 months ago by dfscruz0 • written 4 months ago by shg0180
0
gravatar for dfscruz
3 months ago by
dfscruz0
dfscruz0 wrote:

Check that the column names in cd are in exactly the same order than in sg. I think I had some troubles with that in the past.

ADD COMMENTlink written 3 months ago by dfscruz0
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 565 users visited in the last hour