-
Notifications
You must be signed in to change notification settings - Fork 11
Closed
Description
Hi,
Matrix subsetting in base R supports "missing" subsetting arguments, but it seems the DelayedMatrix may not.
For example,
m <- matrix(runif(300000), nrow=10000, ncol=30)
M <- DelayedArray(m)
foo <- function(object, i, j) {
object[i, j]
}
foo(m, j=!logical(ncol(m)))
foo(M, j=!logical(ncol(M)))
Is it possible to support this? I think packages like limma::subsetListOfArrays rely on such subsetting support for subsetting its EList objects.
Best,
Allison
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels