Hello my fellow R community,
I have an ".RData" file, generated by someone somewhere between 2014-2016. This was related to Differential Expression Analysis for his previous RNASeq project. Loading this file into R produces a number of objects that are required for DE Analysis using DESeq2.
However, I am having issues with loading that file into current version of R in Rstudio as there are conflicts related to multiple packages. I tried to figure out how to fix this by installing older versions of R and packages without any clear idea of what versions were used to produce that RData file in the first place as I do not have the code that generated it.
A simple load command in R produces the following error:
Error in h(simpleError(msg, call)) :
error in evaluating the argument 'x' in selecting a method for function 'nrow': no slot of name "elementMetadata" for this object of class "DESeqDataSet"
Loading required package: pcaMethods
Attaching package: ‘pcaMethods’
The following object is masked from ‘package:stats’:
loadings
Error in h(simpleError(msg, call)) :
error in evaluating the argument 'x' in selecting a method for function 'nrow': no slot of name "elementMetadata" for this object of class "SummarizedExperiment"
In addition: There were 16 warnings (use warnings() to see them)
My Question is, Is it possible to manipulate that RData file and save it to work with current versions of R? If so, how do we achieve this?
I am hoping that someone has already faced this issue and managed to fix it. I could really use some help as I cannot seem to find solution online.
Any help would be appreciated, thanks.