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

at file ../Core/cholmod_dense.c, line 102 #2

Open
zznx opened this issue Oct 6, 2021 · 4 comments
Open

at file ../Core/cholmod_dense.c, line 102 #2

zznx opened this issue Oct 6, 2021 · 4 comments

Comments

@zznx
Copy link

zznx commented Oct 6, 2021

Hi @guokai8

Error in asMethod(object) : Cholmod error 'problem too large' at file ../Core/cholmod_dense.c, line 102

Thank you for the package.And how to fix it

@guokai8
Copy link
Owner

guokai8 commented Oct 6, 2021

Hi @zznx,
I think you may have an extremely sparse matrix which means you had too much zeros in you data. You can do some trimming which may help you. Or you can run your analysis on a lager machine which may have enough memory. Hopes this will help
Kai

@zznx
Copy link
Author

zznx commented Oct 6, 2021

When I run the code,it finally works!

Seurat.object=subset(x = Seurat.object, features = VariableFeatures(object = Seurat.object)
library(scGSVA)
hsko<-buildAnnot(species="human",keytype="SYMBOL",anntype="KEGG")
res<-scgsva(pbmcs,hsko)

I think there might be something wrong, and when I run the code I get an error

library(scGSVA)
Seurat.object=subset(x = Seurat.object, features = VariableFeatures(object = Seurat.object)
Error in `[[<-`(`*tmp*`, dimreduc, value = tryCatch(expr = subset.DimReduc(x = x[[dimreduc]],  : 
  [[<- defined for objects of type "S4" only for subclasses of environment

@guokai8
Copy link
Owner

guokai8 commented Oct 7, 2021

Hi @zznx,
I guess you may need to load the Seurat package before you do subsetting.
Kai

@zznx
Copy link
Author

zznx commented Oct 9, 2021

Hi @guokai8
I have loaded the Seurat package but I still have the above problem.
Jx

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