-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
colQuantiles fails with length-1 probs #70
Comments
That is an unrelated error, due to the use of DelayedArray internals that have since changed their name: DelayedMatrixStats/tests/testthat/helper_test_data.R Lines 169 to 176 in f2a05ae
The immediate fix is to change the line for Upon applying this fix, I see further problems related to the formation of x <- matrix(0,0,0)
x2 <- as(x, "Matrix")
x2[integer(0), integer(0)]
## Error in subCsp_ij(x, i, j, drop = drop) :
## Cholmod error 'invalid xtype' at file ../MatrixOps/cholmod_submatrix.c, line 103 I've notified Martin about this. |
FWIW I've replaced the use of |
That should be fixed as of Matrix 1.3-2, when it eventually hits the shelves; manual installation allows DMS |
Matrix 1.3-2 now available on CRAN and starting to make its way to the Bioconductor build machines. |
This occurs because
matrixStats::colQuantiles()
, for whatever reason, decides to return a vector instead of a 1-column matrix by default, which breaks the subsequentrbind()
. We should setdrop=FALSE
in the block processing and handle thedrop
argument in.DelayedMatrix_block_colQuantiles
ourselves (which, incidentally, is not done correctly right now either).The text was updated successfully, but these errors were encountered: