satijalab / seurat-wrappers

Community-provided extensions to Seurat
GNU General Public License v3.0
307 stars 131 forks source link

Error using the cluster_cells function while converting an Seurat object in a cds object for monocle3 #160

Open pyjm opened 1 year ago

pyjm commented 1 year ago

Hello,

I am trying to use monocle3 to run a trajectory analysis on a subset of cells from an integrated Seurat object and I am getting the following error:

> cds_Seurat<- cluster_cells(cds_Seurat)
Error in leidenbase::leiden_find_partition(graph_result[["g"]], partition_type = partition_type,  : 
  REAL() can only be applied to a 'numeric', not a 'NULL'

Any thoughts?

Thank you!!

chanucy97 commented 1 year ago

I also get this error.

chanucy97 commented 1 year ago

I have modified the version to 1.0.0 and it still does not fix it. Changing the input format also does not solve it. It feels like I have tried every solution I can think of and nothing works.

chanucy97 commented 1 year ago

Today I found if I specified "cluster_method = 'louvain'", it would work.... !!!!!!!

revomax commented 8 months ago

I was in the same problem and it worked!! Thank You!!!!!