Since I updated Seurat from v4 to v5, I kept getting this error message when I was loading Seurat:
library(Seurat)
Loading required package: SeuratObject
Loading required package: sp
‘SeuratObject’ was built under R 4.3.1 but the current version is 4.3.3; it is
recomended that you reinstall ‘SeuratObject’ as the ABI for R may have changed
‘SeuratObject’ was built with package ‘Matrix’ 1.6.3 but the current version is
1.6.5; it is recomended that you reinstall ‘SeuratObject’ as the ABI for ‘Matrix’ may
have changed
When I ran FindAllMarkers after PrepSCTFindMarkers, the number of observation was changed from 7,141 to 46,367.
This is the code that I used:
ALL.MARKERS.WNN <- FindAllMarkers(seg_status, assay = "SCT", recorrect_umi = FALSE)
My previous version of Seurat and SeuratObject was 4.4.0 and 4.1.4, respectively. The Matrix version was 1.6-5.
I deleted SeuratObject and Matrix package and re-install, and I restarted R whenever I deleted or re-installed them.
I also deleted Seurat and Signac and re-installed them, but it kept giving me the same error.
I even uninstalled R and RStudio and re-downloaded them. After that, I installed Seurat and Signac, non other packages. However, I am still getting same error.
I tried to update my Seurat object. The version of my Seurat object (CF_MultiModal_WNN) was 4.1.4:
seg_status@version
‘4.1.4’
I used this code to update the object:
seg_status <- UpdateSeuratObject(seg_status)
Validating object structure
Updating object slots
Ensuring keys are in the proper structure
Updating matrix keys for DimReduc ‘pca’
Updating matrix keys for DimReduc ‘umap’
Updating matrix keys for DimReduc ‘lsi’
Updating matrix keys for DimReduc ‘umap.atac’
Updating matrix keys for DimReduc ‘harmony’
Updating matrix keys for DimReduc ‘wnn.umap’
Ensuring keys are in the proper structure
Ensuring feature names don't have underscores or pipes
Updating slots in RNA
Updating slots in ATAC
Updating slots in SCT
Updating slots in integrated
Updating slots in integrated_nn
Setting default assay of integrated_nn to integrated
Updating slots in integrated_snn
Setting default assay of integrated_snn to integrated
Updating slots in ATAC_nn
Setting default assay of ATAC_nn to ATAC
Updating slots in ATAC_snn
Setting default assay of ATAC_snn to ATAC
Updating slots in wknn
Cannot find wknn in the object, setting default assay of wknn to ATAC
Updating slots in wsnn
Cannot find wsnn in the object, setting default assay of wsnn to ATAC
Updating slots in pca
Updating slots in umap
Setting umap DimReduc to global
Updating slots in lsi
Updating slots in umap.atac
Setting umap.atac DimReduc to global
Updating slots in harmony
Updating slots in wnn.umap
Setting wnn.umap DimReduc to global
No assay information could be found for FindIntegrationAnchors
No assay information could be found for withCallingHandlers
Setting assay used for ScaleData.integrated to integrated
Setting assay used for RunPCA.integrated to integrated
Setting assay used for FindNeighbors.integrated.pca to integrated
Setting assay used for RunUMAP.integrated.pca to integrated
Setting assay used for RunUMAP.ATAC.lsi to ATAC
Setting assay used for RunUMAP.ATAC.harmony to ATAC
Setting assay used for FindNeighbors.ATAC.harmony to ATAC
No assay information could be found for FindModalityWeights
No assay information could be found for FindMultiModalNeighbors
Setting assay used for RunUMAP.ATAC.pca to integrated
No assay information could be found for FindClusters
Validating object structure for Assay ‘RNA’
Validating object structure for ChromatinAssay ‘ATAC’
Validating object structure for SCTAssay ‘SCT’
Validating object structure for Assay ‘integrated’
Validating object structure for Graph ‘integrated_nn’
Validating object structure for Graph ‘integrated_snn’
Validating object structure for Graph ‘ATAC_nn’
Validating object structure for Graph ‘ATAC_snn’
Validating object structure for Graph ‘wknn’
Validating object structure for Graph ‘wsnn’
Validating object structure for DimReduc ‘pca’
Validating object structure for DimReduc ‘umap’
Validating object structure for DimReduc ‘lsi’
Validating object structure for DimReduc ‘umap.atac’
Validating object structure for DimReduc ‘harmony’
Validating object structure for DimReduc ‘wnn.umap’
Object representation is consistent with the most current Seurat version
Warning messages:
1: Adding a command log without an assay associated with it
2: Adding a command log without an assay associated with it
3: Adding a command log without an assay associated with it
4: Adding a command log without an assay associated with it
5: Adding a command log without an assay associated with it
The version of the object changed to 5.0.1, but this didn't help me to solve the issue.
This is my sessionInfo:
R version 4.3.3 (2024-02-29)
Platform: aarch64-apple-darwin20 (64-bit)
Running under: macOS Sonoma 14.4
Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/lib/libRlapack.dylib; LAPACK version 3.11.0
Since I updated Seurat from v4 to v5, I kept getting this error message when I was loading Seurat:
library(Seurat)
When I ran FindAllMarkers after PrepSCTFindMarkers, the number of observation was changed from 7,141 to 46,367. This is the code that I used:
ALL.MARKERS.WNN <- FindAllMarkers(seg_status, assay = "SCT", recorrect_umi = FALSE)
My previous version of Seurat and SeuratObject was 4.4.0 and 4.1.4, respectively. The Matrix version was 1.6-5.
I deleted SeuratObject and Matrix package and re-install, and I restarted R whenever I deleted or re-installed them. I also deleted Seurat and Signac and re-installed them, but it kept giving me the same error. I even uninstalled R and RStudio and re-downloaded them. After that, I installed Seurat and Signac, non other packages. However, I am still getting same error.
I tried to update my Seurat object. The version of my Seurat object (CF_MultiModal_WNN) was 4.1.4:
seg_status@version
I used this code to update the object:
seg_status <- UpdateSeuratObject(seg_status)
The version of the object changed to 5.0.1, but this didn't help me to solve the issue.
This is my sessionInfo: