You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried saving a Rcpp_SlalomModel object in an RData file, and found out that C++ pointer problems mean that it doesn't work when you then try to reload it.
I appreciate that addResultsToSingleCellExperiment allows you to record some of the results, but (a) it doesn't save them all and (b) you can't use the updated sce object as an input to e.g. plotTerms.
if (!methods::is(object, "Rcpp_SlalomModel"))
stop("object must be of class Rcpp_SlalomModel")
in topTerms, plotTerms etc.
I would find it helpful to have some similar save capability, plus making the plotting/topterms functions work with either an Rcpp_SlalomModel object or a saved list / appropriate other data structure. Being able to save model outputs is especially important when you're dealing with large numbers of cells, and trying out lots of factors...
Thanks for all the work on the package!
Will
The text was updated successfully, but these errors were encountered:
Hi
I tried saving a
Rcpp_SlalomModel
object in anRData
file, and found out that C++ pointer problems mean that it doesn't work when you then try to reload it.I appreciate that
addResultsToSingleCellExperiment
allows you to record some of the results, but (a) it doesn't save them all and (b) you can't use the updatedsce
object as an input to e.g.plotTerms
.My workaround was the following code:
plus commenting out
in
topTerms
,plotTerms
etc.I would find it helpful to have some similar save capability, plus making the plotting/topterms functions work with either an
Rcpp_SlalomModel
object or a saved list / appropriate other data structure. Being able to save model outputs is especially important when you're dealing with large numbers of cells, and trying out lots of factors...Thanks for all the work on the package!
Will
The text was updated successfully, but these errors were encountered: