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 Guy5 天前
Sci. Adv. | PINK1敲除为何有时有效、有时无效?肺癌研究揭示阶段与用药依赖
生物信息学
比特酶生物计算6 天前
口癌发Adv Sci:单细胞锁定中性粒细胞耐药新靶点
生物信息学·医学科研·口咽癌
Biomamba生信基地7 天前
“AI与生信”公开课,下周五药科大学见
ai·生物信息学
Bioinfo Guy8 天前
30天免费试用、100 BIC额度!Illumina推出BioInsight,基因组分析与AI怎么用?
生物信息学
Bioinfo Guy9 天前
Nat. Genet. | 癌基因还在,为何失去优势?ecDNA困入微核,削弱肿瘤细胞适应度
生物信息学
Bioinfo Guy12 天前
NPJ Precis. Oncol. | 新抗原疫苗不只看肿瘤缩小:用PKPD模型拆解抗原暴露、T细胞扩增和疗效
生物信息学
Bioinfo Guy13 天前
npj Digit. Med. | 2026年还发机器学习+SHAP:多特征异常检测重估阴性MII-pH并筛出潜在GERD漏诊
生物信息学