Question: Need to read in DEXSeqResults object to R from csv
gravatar for cjm
18 months 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.



dexseq • 265 views
ADD COMMENTlink written 18 months 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 18 months ago by Alejandro Reyes1.7k

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 18 months ago • written 18 months 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 16.09
Traffic: 314 users visited in the last hour