DEXSeq error while creating ExonCountSet object
Hi
I am using DEXSeq for my analysis.
However, I am facing error while making the ExonCountSet object for further processing.
Specifically, on running
ecs <- read.HTSeqCounts(sampleTable$countFile, sampleTable, dros_flattened.gff)
I get the error:
Error in checkAtAssignment("character", "annotationFile", "character") :
'annotationFile' is not a slot in class "character"
In addition: Warning message:
'newExonCountSet' is deprecated.
Use 'DEXSeqDataSet' instead.
See help("Deprecated")
I prepared the gff file using the dexseq python script, and all other steps alsp as in the DEXSeq vignette.
Any suggestions/workarounds are most welcome.
Thanks
M
• 4,382 views
•
link
1 answer
This is likely due to you using a deprecated function for the version of DEXseq you have. read.HTSeqCounts() was replaced by DEXSeqDataSetFromHTSeq(), so try that instead.
• 3 views
•
link
Log in to answer this question.
What's the output of
sessionInfo()? It's likely that you just need to update all of the packages.The output of
sessionInfo()If I try to check the package status using,
I get:
Does it indicate that all the packages are uptodate, or otherwise?
Thanks
M
Thank You Devon.
The ecs data object is successfully created.
But shouldn't deprecated packages be automatically removed, or the authors have not updated the vignette (I am following the DEXSeq vignettte (last revision: 2013-10-08)).
And that's probably why I am now running into following errors:
Do you know of any current versions of the vignette, or a way around to solve these errors?
Thanks again
M
Hi M,
It looks like Alejandro forgot to remove the
read.HTSeqCount()function from the source, even though it's set as being deprecated itself. Anyway, the vignette you're looking at is older than the version you have. If you just typevignette("DEXSeq")from within R you'll get the current one (it's already on your hard drive). You'll note that it lacks theread.HTSeqCounts()function. Further, theExonCountSet(what the ecs variable stands for) class has itself been deprecated, so you're trying to use its accessors on aDEXSeqDataSetobject (which is just an extension of aDESeqDataSetobject). Have a look through the updated vignette and your life will be much easier :)Thanks Devon for pointing in the right direction.