This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Exporting DESeq2 results to CSV files

Hello there. I need a help with this situation. I'm following this vignette and I'm getting an error on the item "Exporting results to CSV files":

write.csv(as.data.frame(resOrdered), 
      file="condition_treated_results.csv")

In my case i get this:

write.csv(as.data.frame(resOrdered), file = "myres_counts.csv")
 error in evaluating the argument 'x' in selecting a method for function 'as.data.frame': object 'resOrdered' not found

I don't actually understand what the "resOrdered" object is and where is. What can I do to fix this? Btw, why does such an error occur?

deseq2 r

I'm stupid, I figured it out

1 answer

object 'resOrdered' not found

Make sure that object exists.

Log in to answer this question.