Question: Adding a column to a class that contains DataFrame
gravatar for Michael Love
5 days ago by
Michael Love15k
United States
Michael Love15k 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 written 5 days ago by Michael Love15k
Please log in to add an answer.


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