在R包Cellchat中运行cellchat <- netClustering(cellchat, type = "functional"),反馈Error: Strategy 'multiprocess' is defunct in future (>= 1.32.0) [2023-03-06]. Instead, explicitly specify either 'multisession' (recommended) or 'multicore'.
cellchat <- netClustering(cellchat, type = "functional")
Error: Strategy 'multiprocess' is defunct in future (>= 1.32.0) [2023-03-06]. Instead, explicitly specify either 'multisession' (recommended) or 'multicore'.
library(future)
plan(multisession)
cellchat_clustering <- netClustering(cellchat, type="functional")
仍然是同样的报错
如果不需要多线程,可以试试添加do.parallel = FALSE参数,cellchat_clustering <- netClustering(cellchat, type = "functional",do.parallel = FALSE)
完整代码发过来