I am not able to reproduce the tutorial example with last scde version from bioconductor. About one week ago it was working fine.
# load example dataset
data(es.mef.small)
# factor determining cell types
sg <- factor(gsub("(MEF|ESC).*", "\\1", colnames(es.mef.small)), levels = c("ESC", "MEF"))
# the group factor should be named accordingly
names(sg) <- colnames(es.mef.small)
table(sg)
cd <- clean.counts(es.mef.small, min.lib.size=1000, min.reads = 1, min.detected = 1)
o.ifm <- scde.error.models(counts = cd, groups = sg, n.cores = 1, threshold.segmentation = TRUE, save.crossfit.plots = FALSE, save.model.plots = FALSE, verbose = 1)
20 : MEF_68
Classification: weighted
Error in FUN(X[[i]], ...) :
trying to get slot "logLik" from an object of a basic class ("function") with no slots
ERROR encountered in building a model for cell MEF_49 - skipping the cell. Error:
Error in FUN(X[[i]], ...) :
trying to get slot "logLik" from an object of a basic class ("function") with no slots
ERROR encountered in building a model for cell MEF_50 - skipping the cell. Error:
Error in FUN(X[[i]], ...) :
trying to get slot "logLik" from an object of a basic class ("function") with no slots
ERROR encountered in building a model for cell MEF_51 - skipping the cell. Error:
Error in FUN(X[[i]], ...) :
trying to get slot "logLik" from an object of a basic class ("function") with no slots
ERROR encountered in building a model for cell MEF_52 - skipping the cell. Error:
Error in FUN(X[[i]], ...) :
trying to get slot "logLik" from an object of a basic class ("function") with no slots
ERROR encountered in building a model for cell MEF_53 - skipping the cell. Error:
Error in FUN(X[[i]], ...) :
trying to get slot "logLik" from an object of a basic class ("function") with no slots
ERROR encountered in building a model for cell MEF_54 - skipping the cell. Error:
Error in FUN(X[[i]], ...) :
trying to get slot "logLik" from an object of a basic class ("function") with no slots
ERROR encountered in building a model for cell MEF_55 - skipping the cell. Error:
Error in FUN(X[[i]], ...) :
trying to get slot "logLik" from an object of a basic class ("function") with no slots
ERROR encountered in building a model for cell MEF_56 - skipping the cell. Error:
Error in FUN(X[[i]], ...) :
trying to get slot "logLik" from an object of a basic class ("function") with no slots
ERROR encountered in building a model for cell MEF_57 - skipping the cell. Error:
Error in FUN(X[[i]], ...) :
trying to get slot "logLik" from an object of a basic class ("function") with no slots
ERROR encountered in building a model for cell MEF_58 - skipping the cell. Error:
Error in FUN(X[[i]], ...) :
trying to get slot "logLik" from an object of a basic class ("function") with no slots
ERROR encountered in building a model for cell MEF_59 - skipping the cell. Error:
Error in FUN(X[[i]], ...) :
trying to get slot "logLik" from an object of a basic class ("function") with no slots
ERROR encountered in building a model for cell MEF_60 - skipping the cell. Error:
Error in FUN(X[[i]], ...) :
trying to get slot "logLik" from an object of a basic class ("function") with no slots
ERROR encountered in building a model for cell MEF_61 - skipping the cell. Error:
Error in FUN(X[[i]], ...) :
trying to get slot "logLik" from an object of a basic class ("function") with no slots
ERROR encountered in building a model for cell MEF_62 - skipping the cell. Error:
Error in FUN(X[[i]], ...) :
trying to get slot "logLik" from an object of a basic class ("function") with no slots
ERROR encountered in building a model for cell MEF_63 - skipping the cell. Error:
Error in FUN(X[[i]], ...) :
trying to get slot "logLik" from an object of a basic class ("function") with no slots
ERROR encountered in building a model for cell MEF_64 - skipping the cell. Error:
Error in FUN(X[[i]], ...) :
trying to get slot "logLik" from an object of a basic class ("function") with no slots
ERROR encountered in building a model for cell MEF_65 - skipping the cell. Error:
Error in FUN(X[[i]], ...) :
trying to get slot "logLik" from an object of a basic class ("function") with no slots
ERROR encountered in building a model for cell MEF_66 - skipping the cell. Error:
Error in FUN(X[[i]], ...) :
trying to get slot "logLik" from an object of a basic class ("function") with no slots
ERROR encountered in building a model for cell MEF_67 - skipping the cell. Error:
Error in FUN(X[[i]], ...) :
trying to get slot "logLik" from an object of a basic class ("function") with no slots
ERROR encountered in building a model for cell MEF_68 - skipping the cell. Error:
Error in FUN(X[[i]], ...) :
trying to get slot "logLik" from an object of a basic class ("function") with no slots
ERROR fitting of 20 out of 20 cells resulted in errors reporting remaining 0 cells
I am not able to reproduce the tutorial example with last scde version from bioconductor. About one week ago it was working fine.
The error I get: