Skip to content
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

'as_cholmod_sparse' not provided by package 'Matrix' #145

Closed
IENAUMANN opened this issue Mar 7, 2024 · 2 comments
Closed

'as_cholmod_sparse' not provided by package 'Matrix' #145

IENAUMANN opened this issue Mar 7, 2024 · 2 comments

Comments

@IENAUMANN
Copy link

when I run the following code:

pbmc.data <- Read10X(data.dir = data.path)
p2.processed <- basicP2proc(pbmc.data, n.cores=1, min.cells.per.gene=10,

  •                 n.odgenes=2e3, get.largevis=FALSE, make.geneknn=FALSE)
    

, I always get this error:
Error in irlba(x, nv = nPcs, nu = 0, center = cm, right_only = FALSE, :
function 'as_cholmod_sparse' not provided by package 'Matrix'. I tried to resolve it by installing previous versions of irlba, and matrix and also installed the RSpectra package as described by others but it seems to be pagoda2 specific because I don't get this error when using any other function. Any idea what could cause the issue?

@evanbiederstedt
Copy link
Collaborator

It looks like others are having this issue: cole-trapnell-lab/monocle3#690

I'll try to write a stable fix when I have time

@evanbiederstedt
Copy link
Collaborator

Thanks for the issue @IENAUMANN

Basically, the problem is here: bwlewis/irlba#70

The maintainers of irlba will be the ones to fix this. I'm pretty sure they will at some point.

There's nothing for us to do until wait for them to fix this. It is what it is, I'm afraid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants