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
相关推荐
Biomamba生信基地4 天前
基于SpliceAI的TCGA-LIHC体细胞突变剪接效应预测
生物信息学·tcga·spliceai
Bioinfo Guy6 天前
【期刊投稿指南】可接纯生信!npj Genomic Medicine的选题与专题征稿
生物信息学
Bioinfo Guy7 天前
Cell Discov. | 1型糖尿病如何扰乱雌性生殖内分泌轴?
生物信息学
Bioinfo Guy9 天前
npj Digit. Med. | 从牙周炎到脑内炎症:单核转录组与机器学习揭示黄连解毒汤的cGAS–STING调节作用
生物信息学
Bioinfo Guy11 天前
J. Nanobiotechnol. | 三七NotoEV跨界递送植物miRNA,重塑缺血后神经元应激反应
生物信息学
Bioinfo Guy11 天前
【期刊投稿指南】Frontiers in Genetics:肿瘤多组学从计算发现走向验证
生物信息学
Bioinfo Guy13 天前
Adv. Sci. | 2602例验证:H&E病理AI能否给胃肠癌前病变分层?
生物信息学
Bioinfo Guy16 天前
Nat. Commun. | TDP-43病理并非随机扩散:ALS/ALS-FTD运动皮层中最受影响的是特定兴奋性神经元
生物信息学
Bioinfo Guy16 天前
Mol. Cancer | 胃癌化疗耐药新轴:YAP1/TEAD4-MCM10把DNA复制、干性和Wnt信号串起来
生物信息学