CellChat之no slot of name “images” for this object of class “CellChat”

遇到问题解决问题

CellChat之no slot of name "images" for this object of class "CellChat"

cpp 复制代码
# 下载地址:
#cellchat.NL:https://ndownloader.figshare.com/files/25954199
#cellchat.LS:https://ndownloader.figshare.com/files/25956518
cellchat.NL <- readRDS("data/cellchat_humanSkin_NL.rds")
cellchat.LS <- readRDS("data/cellchat_humanSkin_LS.rds")

(1)报错界面

kotlin 复制代码
no slot of name "images" for this object of class

(2)原因

这是因为cellchat版本不同导致的,可以先使用updateCellChat函数将之前对象更新后再执行mergeCellChat合并的操作

(3)解决方法

cs 复制代码
cellchat.NL <- updateCellChat(cellchat.NL)
cellchat.LS <- updateCellChat(cellchat.LS)
object.list <- list(NL = cellchat.NL, LS = cellchat.LS)
cellchat <- mergeCellChat(object.list, add.names = names(object.list))
cellchat
相关推荐
Bioinfo Guy8 天前
Nature | 跨物种转录组时钟揭示衰老与死亡的模块化网络
生物信息学
Biomamba生信基地9 天前
安全访问:FutureTerminal之Jupyter配置及Linux终端、Python与R环境访问
linux·远程连接·生物信息学
Bioinfo Guy10 天前
Cell | CANVAS:从H&E重建肺癌空间生态位并预测免疫治疗获益
生物信息学
Bioinfo Guy12 天前
Mol. Biomed. | cfDNA片段组学整合三类信号识别良恶性肾占位
生物信息学
Bioinfo Guy1 个月前
高分Panel复现系列|转录因子网络太乱?用模块框把重点圈出来
数据库·生物信息学·生信可视化
易基因科技1 个月前
易基因:Cell Commun Signal/IF11.6:中国多家科研单位联合开发MEE表观遗传编辑器实现线粒体DNA甲基化精准调控 助力衰老机制研究
生物信息学·科研服务·表观遗传标志物筛选·全基因组甲基化
HyperAI超神经2 个月前
在线教程|ProteinGym 第一名!VenusREM 用「检索增强」预测蛋白突变影响,加速蛋白质设计
人工智能·深度学习·生物信息学·大模型推理·生物医学
Biomamba生信基地2 个月前
《NG》作者采访视频:我们要学会“用”AI,而不是“学”AI
ai·生物信息学·可变剪切