ShellyCoder / cellcall

inferring cell-cell communication from scRNA-seq of ligand-receptor
73 stars 20 forks source link

when using the tools in 100000 cells, The problem met! #17

Open hzaumsq opened 2 years ago

hzaumsq commented 2 years ago

test <- CreateObject_fromSeurat(Seurat.object=data,slot="counts",cell_type="immune_annotation",data_source="UMI",scale.factor = 10^6,Org = "Homo sapiens") Error in asMethod(object) : Cholmod error 'problem too large' at file ../Core/cholmod_dense.c, line 102

ShellyCoder commented 2 years ago

Hi there, I hope this would not be late for this reply.

thanks for pointing this out. The error occurs when a large sparse matrix is internally being converted to a dense matrix. Actually, the dgCMatrix is a better choice. Considering the applicable for all method in CellCall, there may be a modification to fix this defect in next version.

Sorry for this inconvience.

Thanks !