cnio-bu / beyondcell

Beyondcell is a computational methodology for identifying tumour cell subpopulations with distinct drug responses in single-cell RNA-seq and Spatial Transcriptomics data.
Other
40 stars 4 forks source link

Error in irlba::irlba(L, nv = n, nu = 0, maxit = iters): function 'as_cholmod_sparse' not provided by package 'Matrix' #142

Closed wuyilin1234 closed 5 months ago

wuyilin1234 commented 9 months ago

when I run this:bc <- bcUMAP(bc, pc = 10, k.neighbors = 4, res = 0.2);meeting error :Error in irlba::irlba(L, nv = n, nu = 0, maxit = iters): function 'as_cholmod_sparse' not provided by package 'Matrix'. how can i solve it? thanks

mj-jimenez commented 8 months ago

Hi @wuyilin1234 sorry for the late response.

I think this is a compatibility issue with the new Matrix package version. Please check if you have version 1.6-2 installed. If so, downgrade to 1.6-1 and try again.

Could you please send your session info? Thanks!

mj-jimenez commented 5 months ago

This has been solved in the beyondcell 2.2.1 release.