sunduanchen / Scissor

Scissor package
GNU General Public License v3.0
168 stars 29 forks source link

Cholmod error 'problem too large' at file ../Core/cholmod_dense.c, line 102 #31

Closed jxshi closed 2 years ago

jxshi commented 2 years ago

Hi,

Thank you for developing this awesome tool. Though the demo data went through, I encountered an error while running my data. Here is the code I used and the error message:

infos1 <- Scissor(bulk_dataset, sce, phenotype, alpha = 0.05, 
+                   family = "cox", Save_file = 'survival.RData')
Error in asMethod(object) : 
  Cholmod error 'problem too large' at file ../Core/cholmod_dense.c, line 102

Too many cells in the sce object might caused this error? I have 22432 features and 47284 cells in the sce object. Can you solved for my, please?

Thank you again! Best, Jianxiang

jxshi commented 2 years ago

I created a subset of sce object with 7551 cells, but another error popped up:

infos1 <- Scissor(bulk_dataset, scenew, phenotype, alpha = 0.05, 
                  family = "cox", Save_file = 'survival.RData')

Error in normalize.quantiles(dataset0) : 
  Matrix expected in normalize.quantiles

Anyone has similar issues can check this solution.