Question: Need to read in DEXSeqResults object to R from csv
gravatar for cjm
8 days ago by
cjm0 wrote:


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.


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


> 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.



ADD COMMENTlink written 8 days ago by cjm0

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

ADD REPLYlink written 7 days ago by Alejandro Reyes1.5k

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 REPLYlink modified 7 days ago • written 7 days ago by Wolfgang Huber13k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.2.0
Traffic: 373 users visited in the last hour