error in DESeq2 results(dds)
1
0
Entering edit mode
james • 0
@de0a0546
Last seen 3.8 years ago

I am running into an error my code did not used to encounter. The data I am using ran with this code successfully 4 months ago. Any ideas on how to fix or circumvent this error would be appreciated.

> dds <- DESeqDataSetFromMatrix(countData=mycounts, 
                              colData=metadata, 
                              design=~condition,
                              tidy=TRUE)
> dds <- DESeq(dds)
> res <- results(dds, tidy=TRUE)

Error in checkSlotAssignment(object, name, value) : 
  assignment of an object of class “DFrame” is not valid for slot ‘elementMetadata’ in an object of class “DESeqResults”; is(value, "DataTable_OR_NULL") is not TRUE
DESeq2 datasetfrommatrix results error • 3.4k views
ADD COMMENT
1
Entering edit mode
@mikelove
Last seen 7 days ago
United States

These types of errors are nearly always caused by invalid installations, check:

BiocManager::valid()
ADD COMMENT
0
Entering edit mode

Thank you, it still gave me the error after updating 4 of the 5 packages that were out of date. But restarting RStudio removed the error.

ADD REPLY

Login before adding your answer.

Traffic: 368 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