"Matrix")
> library("Biobase")
> library("SummarizedExperiment")
> library("SingleCellExperiment")
>
> setClassUnion("ExpData", c("matrix", "dgCMatrix",
> "ExpressionSet", "SingleCellExperiment"))
>
>
quot;B", directly
Class "C", by class "A", distance 2
Now, does that look like a bug in the methods package or rather like
'some "unhappy coincidence" in how the involved packages interact there'?
I have no idea how to tell -- and therefore
.check_expdata <- function(expdata)
>> {
>> ok <- is.matrix(expdata) ||
>>is(expdata, "dgCMatrix") ||
>>is(expdata, "ExpressionSet") ||
>>is(expdata, "SummarizedExperiment")
>> if (!ok) sto
Dear Community, dear S4 Experts,
in the GSVA package I want to use an S4 class union as a superclass
for all supported data containers and S4 methods
defined for this superclass, rather than for each subclass, where a
class-specific implementation is not necessary. In particular
I want to avoid h