Adding a column to a class that contains DataFrame
1
2
Entering edit mode
@mikelove
Last seen 4 hours ago
United States

I'm seeing an error in devel branch related to DESeqResults, which contains DataFrame. And I think I can trace it to S4Vectors.

I have this minimal example:

setClass("myDataFrame", contains="DataFrame")
d <- DataFrame(x=1:5)
dd <- new("myDataFrame", d)
d$y <- 1:5
dd$y <- 1:5
Error in concatenateObjects(x, objects, ignore.mcols = ignore.mcols) : 
  the objects to concatenate must be myDataFrame objects (or NULLs)
Calls: $<- ... c -> .local -> concatenateObjects -> concatenateObjects

For sessionInfo() and more context, see this original post:

C: results function of DESeq2 devel fails

s4vectors • 885 views
ADD COMMENT
0
Entering edit mode
@mikelove
Last seen 4 hours ago
United States

It looks like this is fixed for me in S4Vectors version 0.17.22.

ADD COMMENT

Login before adding your answer.

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