Need to read in DEXSeqResults object to R from csv
0
0
Entering edit mode
cjm • 0
@cjm-16087
Last seen 6.5 years ago

Hello,

I ran DEXSeq on a linux based cluster and saved the DEXSeqResults object as a .csv file to run locally for further analysis and visualization.  When I read in the .csv to R, I am able to see it appear properly in the Data Environment, but none of the commands that should run from this work.  I have updated bioconductor and all packages along with my version of R.

Example:

> mcols(dxr1)$description
Error in (function (classes, fdef, mtable)  : 
  unable to find an inherited method for function ‘mcols’ for signature ‘"data.frame"’

or

> DEXSeqHTML(object=dxr)
Error in DEXSeqHTML(object = dxr) : 
  is(object, "DEXSeqResults") is not TRUE

I need to run the main part of DEXSeq on the cluster due to memory issues, but would like to be able to analyze and visualize locally.  Any help would be appreciated.

Best,

Christina

dexseq • 1.1k views
ADD COMMENT
0
Entering edit mode

Hi Christina, can you post the complete code that you are using along with the output of your sessionInfo()?

ADD REPLY
0
Entering edit mode

The most common and recommended way to save R objects, move them to a different computer and open them there again are the save and load functions in R. It looks like that the CSV file you saved from the cluster only contains part of the DEXSeqResults object, and what you loaded is not a DEXSeqResults object but just a data.frame, for which what you are trying to do (DEXSeqHTML) cannot work.

ADD REPLY

Login before adding your answer.

Traffic: 642 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6