timothy-barry / ondisc

Space- and time-optimal algorithms for large single-cell expression matrices, with a focus on single-cell CRISPR screens.
https://timothy-barry.github.io/ondisc/
Other
11 stars 5 forks source link

Add support for `ngCMatrix` input to `create_ondisc_matrix_from_R_matrix` #21

Closed ekatsevi closed 9 months ago

ekatsevi commented 2 years ago

I attempted to create_ondisc_matrix_from_R_matrix with an ngCMatrix input (sparse logical matrix), and got the error message Error in ondisc::create_ondisc_matrix_from_R_matrix(r_matrix = gRNA_assignment_matrix, : Input matrix must be a class of matrix, dgTMatrix, dgCMatrix, or dgRMatrix.