Cellchat 2.1.2 issue - no slot of name "data.smooth" for this object of class "CellChat"
I recently had to reinstall CellChat on a new device. While trying to conduct analysis on CellChat objects created using CellChat 2.1.0 from Seurat objects, I'm getting a new error whenever I try to perform downstream functions (e.g. subsetCellChat):
Error in eval(call("@", object, slot)) : no slot of name "data.smooth" for this object of class "CellChat"
I noticed there was a recent change to the slots in cellchat objects outlined here: Rename the slot data.project as data.smooth in the CellChat object https://github.com/jinworks/CellChat/commit/350853a0bf8c4e9af0845f66855c6cf98a1a8493
I believe this new change is causing issues with old objects. Further, I am unable to even updateCellChat() to make objects compatible. However, running the same functions on the same object with devices running CellChat 2.1.0 do not have any issues
Please fix!!
Yeah, I am having the same issue:
View(cellchat) Error in eval(call("@", object, slot)) : no slot of name "data.smooth" for this object of class "CellChat" cellchat <- updateCellChat(cellchat) Error in updateCellChat(cellchat) : no slot of name "data.smooth" for this object of class "CellChat"
I recently had to reinstall CellChat on a new device. While trying to conduct analysis on CellChat objects created using CellChat 2.1.0 from Seurat objects, I'm getting a new error whenever I try to perform downstream functions (e.g. subsetCellChat):我最近不得不在新设备上重新安装 CellChat。在尝试对使用 CellChat 2.1.0 从 Seurat 对象创建的 CellChat 对象进行分析时,每当我尝试执行下游功能(例如 subsetCellChat)时,都会收到一个新错误:
Error in eval(call("@", object, slot)) :eval(call(“@”, object, slot)) 中的错误: no slot of name "data.smooth" for this object of class "CellChat"对于类为 “CellChat” 的对象,没有名为 “data.smooth” 的槽
I noticed there was a recent change to the slots in cellchat objects outlined here:我注意到 cellchat 对象中的插槽最近发生了更改,如下所示: Rename the slot data.project as data.smooth in the CellChat object在 CellChat 对象中将插槽 data.project 重命名为 data.smooth 350853a
I believe this new change is causing issues with old objects. Further, I am unable to even updateCellChat() to make objects compatible. However, running the same functions on the same object with devices running CellChat 2.1.0 do not have any issues我相信这个新的变化会导致旧对象出现问题。此外,我什至无法 updateCellChat() 来使对象兼容。但是,在运行 CellChat 2.1.0 的设备上在同一对象上运行相同的函数不会有任何问题
Please fix!! 请修复!!
Yeah, I am having the same issue:
Having the same issue when trying to update my old cellchat object with updateCellChat() no slot of name "data.smooth" for this object of class "CellChat"
I have met the same question when I use updateCellChat() to update my cellchat object? Is there a better way to fix this bug?
I add an empty matrix to solve the problem,and it worked.[email protected] <- matrix(nrow = 0,ncol = 0)
same error encounted, please fix this bug.
I also encountered the same error even with the example dataset. Please help to fix this issues.
Same issue here, hope the bug can be fixed! Thank you!