Open xiaodiYan opened 2 months ago
same issue
Same issue here. If you have any advice I would not be more grateful ! @zhanghao-njmu
When I install packages using 'devtools::install_github("zhanghao-njmu/SCP")', it occured the error below: Error: object 'LayerData<-' is not exported by 'namespace:SeuratObject' Execution halted ERROR: lazy loading failed for package 'SCP'
I meet the same issue. My friend install successed in his Mac use SCP v5.1.0, and his Suerat is v4.3.0 and SeuratObject is v4.1.3. I try same ver packages in my windows but get error:Error: package or namespace load failed for ‘SCP’: object ‘LayerData<-’ is not exported by 'namespace:SeuratObject'. I try to found where use 'LarerData<-' in package, but I can't. It's very streng. I can't found the reason why it happen. @zhanghao-njmu I really need some help, thank you !
这似乎是因为scp默认安装了seuratobj5,手动降级到4后再加载就可能会出现这个错误,但是我不知道如何解决
这似乎是因为scp默认安装了seuratobj5,手动降级到4后再加载就可能会出现这个错误,但是我不知道如何解决
The "LayerData<-" is the special matter in SeuratObj5, I try to find what function using it in the SCP, but I can't. It‘s very odd.
@zonzero @XiaolongYang-HZAU @Sawakotx @wangtanzhang612 @xiaodiYan
经过测试,通过下面的命令可以解决这个问题,其实就是使用Seurat 4,以及SeuratObject 5就可以了,你们可以尝试一下。
After testing, the following command can solve this problem, which is actually using Seurat 4 and SeuratObject 5, You can try it out.
remove.packages(c("Seurat", "SeuratObject"))
install.packages('Seurat', repos = c('https://satijalab.r-universe.dev'))
install.packages('SeuratObject')
@zonzero @XiaolongYang-HZAU @Sawakotx @wangtanzhang612 @xiaodiYan 经过测试,通过下面的命令可以解决这个问题,其实就是使用Seurat 4,以及SeuratObject 5就可以了,你们可以尝试一下。 After testing, the following command can solve this problem, which is actually using Seurat 4 and SeuratObject 5, You can try it out.
remove.packages(c("Seurat", "SeuratObject"))
install.packages('Seurat', repos = c('https://satijalab.r-universe.dev'))
install.packages('SeuratObject')
Thank you for your suggestion. However, it seems that Seuratobj 5 has undergone significant changes compared to version 4. Have you tested the compatibility between Seurat 4 and Seuratobj 5? I am concerned that conflicts between them might cause the existing analysis pipeline to fail.
@zonzero @XiaolongYang-HZAU @Sawakotx @wangtanzhang612 @xiaodiYan 经过测试,通过下面的命令可以解决这个问题,其实就是使用Seurat 4,以及SeuratObject 5就可以了,你们可以尝试一下。 After testing, the following command can solve this problem, which is actually using Seurat 4 and SeuratObject 5, You can try it out.
remove.packages(c("Seurat", "SeuratObject"))
install.packages('Seurat', repos = c('https://satijalab.r-universe.dev'))
install.packages('SeuratObject')
Thank you for your suggestion. However, it seems that Seuratobj 5 has undergone significant changes compared to version 4. Have you tested the compatibility between Seurat 4 and Seuratobj 5? I am concerned that conflicts between them might cause the existing analysis pipeline to fail.
After modifying the Seurat version based on my description, I tested it on a dataset and all analysis and drawing processes worked properly.
Please refer to the following figure:
@zonzero @XiaolongYang-HZAU @Sawakotx @wangtanzhang612 @xiaodiYan 经过测试,通过下面的命令可以解决这个问题,其实就是使用Seurat 4,以及SeuratObject 5就可以了,你们可以尝试一下。 After testing, the following command can solve this problem, which is actually using Seurat 4 and SeuratObject 5, You can try it out.
remove.packages(c("Seurat", "SeuratObject"))
install.packages('Seurat', repos = c('https://satijalab.r-universe.dev'))
install.packages('SeuratObject')
Thank you for your suggestion. However, it seems that Seuratobj 5 has undergone significant changes compared to version 4. Have you tested the compatibility between Seurat 4 and Seuratobj 5? I am concerned that conflicts between them might cause the existing analysis pipeline to fail.
After modifying the Seurat version based on my description, I tested it on a dataset and all analysis and drawing processes worked properly. Please refer to the following figure:
Thank you very much! I will try.
Error: package or namespace load failed for ‘SCP’: object ‘LayerData<-’ is not exported by 'namespace:SeuratObject'