When x is an HDF5Matrix, but I haven't attached any BioC packages, I get:
> cbind(x, x)
Error: unable to find an inherited method for function ‘bindCOLS’ for signature ‘x = "HDF5Matrix"’
Seemingly, this is because DelayedArray only implements BiocGenerics::cbind and not base::cbind (no idea how that's even possible though), so calling it directly does work: BiocGenerics::cbind(x, x). library(DelayedArray), which is the more typical way to use this, also works because it overrides base::cbind with BiocGenerics::cbind.
Is there any reason why base::cbind() isn't implemented?
When
x
is anHDF5Matrix
, but I haven't attached any BioC packages, I get:Seemingly, this is because
DelayedArray
only implementsBiocGenerics::cbind
and notbase::cbind
(no idea how that's even possible though), so calling it directly does work:BiocGenerics::cbind(x, x)
.library(DelayedArray)
, which is the more typical way to use this, also works because it overridesbase::cbind
withBiocGenerics::cbind
.Is there any reason why
base::cbind()
isn't implemented?