We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am working with large sparse matrices that, after some operations, can return non-sparse matrices of class dgeMatrix.
dgeMatrix
I must be missing something here, but when I try to get colVars for a dgeMatrix, I get
Error in MatrixGenerics:::.load_next_suggested_package_to_search(x) : Failed to find a colVars() method for dgeMatrix objects.
even though colMeans2 works just fine.
colMeans2
Here is some (hopefully) reproducible code:
m <- Matrix(nrow = 3, ncol = 6, data = rnorm(18), sparse = FALSE) sparseMatrixStats::colVars(m)
PS: matrixStats::colVars(m) returns
matrixStats::colVars(m)
Error in matrixStats::colVars(m) : Argument 'x' must be a matrix or a vector.
and calling as.matrix prior to matrixStats::colVars is very slow on larger matrices.
as.matrix
matrixStats::colVars
Any help would be much appreciated.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am working with large sparse matrices that, after some operations, can return non-sparse matrices of class
dgeMatrix
.I must be missing something here, but when I try to get colVars for a
dgeMatrix
, I geteven though
colMeans2
works just fine.Here is some (hopefully) reproducible code:
PS:
matrixStats::colVars(m)
returnsand calling
as.matrix
prior tomatrixStats::colVars
is very slow on larger matrices.Any help would be much appreciated.
The text was updated successfully, but these errors were encountered: