monocle3 進行擬時軌跡分析時候划纽,報錯:
cds <- cluster_cells(cds)
Error in leidenbase::leiden_find_partition(graph_result[["g"]], partition_type = partition_type, :
REAL() can only be applied to a 'numeric', not a 'NULL'
解決方法:設定參數(shù)cluster_method = 'louvain'
cds <- cluster_cells(cds, cluster_method = 'louvain')