Search
Question: Adding a column to a class that contains DataFrame
2
gravatar for Michael Love
11 months ago by
Michael Love20k
United States
Michael Love20k wrote:

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

ADD COMMENTlink modified 11 months ago • written 11 months ago by Michael Love20k
0
gravatar for Michael Love
11 months ago by
Michael Love20k
United States
Michael Love20k wrote:

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

ADD COMMENTlink written 11 months ago by Michael Love20k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.2.0
Traffic: 197 users visited in the last hour