Search
Question: Adding a column to a class that contains DataFrame
2
gravatar for Michael Love
5 months ago by
Michael Love18k
United States
Michael Love18k 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 5 months ago • written 5 months ago by Michael Love18k
0
gravatar for Michael Love
5 months ago by
Michael Love18k
United States
Michael Love18k wrote:

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

ADD COMMENTlink written 5 months ago by Michael Love18k
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: 150 users visited in the last hour