起因
- 运行以下
RunHarmony()
时报错,可是代码以前能跑的,唯一的不同就是换了服务器
seuratObj <- RunHarmony(sce, "orig.ident")
- 报错内容
Error in harmonyObj$cluster_cpp() :
element-wise pow(): incompatible matrix dimensions: 100x6 and 6x1
处理过程
方案一 ❎:重装
- 该问题比较新,根据Github解决方案 1,首先运行以下代码重装harmony:
devtools::install_github("eddelbuettel/harmony",force = TRUE)
devtools::install_github("immunogenomics/harmony",force = TRUE)
- 不行
方案二 ❎:Live Support
- 官方在上述issue中提出与官方联系 2</