I have some SummarizedExperiment objects from previous Bioconductor and R versions, and I've been using them in subsequent analyses by running updateObject()
on them. However, after updating to R 3.3, I now get the following when I try to do so:
> sexp <- readRDS("promoter-group-counts-1kb.RDS") %>% updateObject Error in validObject(result) : invalid class "SummarizedExperiment" object: nb of rows in 'assay' (35631) must equal nb of rows in 'rowData' (0) In addition: Warning message: In updateObjectFromSlots(object, ..., verbose = verbose) : dropping slot(s) 'rowData', 'exptData' from object = 'SummarizedExperiment'
I don't remember exactly what version of Bioc these were generated under, but I know it was before the introduction of RangedSummarizedExperiment. In any case, you can access the file here: https://www.dropbox.com/s/5d3vktytsb0b22x/promoter-group-counts-1kb.RDS?dl=0
Can anyone help me figure out how to load this data into the new BioC version?
Thanks. Good to know. I'll update all my SummarizedExperiment objects and re-serialize them.