问题遇到的现象和发生背景
在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")
仍然是同样的报错