单细胞分析时出现如下问题,请问一下这是否表示该seurat对象不需要校正批次效应,还是对象中缺少了需要的元素导致的。
pdf(file = "03.harmony.pdf",width =7.5,height = 5.5)
> DimPlot(af, reduction = "harmony",pt.size = 1)+theme_classic()+theme(panel.border = element_rect(fill=NA,color="black", size=0.5, linetype="solid"),legend.position = "right")
Error: Cannot find 'harmony' in this Seurat object
所有需要用到harmony的代码都显示harmony在此对象中找不到,请问一下是代码的问题还是数据的问题啊