Bioconductor / DelayedArray

A unified framework for working transparently with on-disk and in-memory array-like datasets
https://bioconductor.org/packages/DelayedArray
24 stars 9 forks source link

`base::cbind()` #116

Open multimeric opened 3 months ago

multimeric commented 3 months ago

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?