mojaveazure / seurat-disk

Interfaces for HDF5-based Single Cell File Formats
https://mojaveazure.github.io/seurat-disk
GNU General Public License v3.0
156 stars 50 forks source link

Error Loading Visium H5Seurat #153

Open BenjaminDEMAILLE opened 1 year ago

BenjaminDEMAILLE commented 1 year ago

Hi

I got this.

Plasticity_spatial <- LoadH5Seurat(file = "/Plasticity_spatial.h5Seurat")
Validating h5Seurat file
Initializing SCT with data
Adding counts for SCT
Adding scale.data for SCT
Adding variable feature information for SCT
Adding miscellaneous information for SCT
Initializing Spatial with data
Adding counts for Spatial
Adding miscellaneous information for Spatial
Initializing integrated with data
Adding scale.data for integrated
Adding variable feature information for integrated
Adding miscellaneous information for integrated
Initializing prediction.Cell_subtype with data
Adding miscellaneous information for prediction.Cell_subtype
Initializing prediction.Cell_type with data
Adding miscellaneous information for prediction.Cell_type
Warning: Keys should be one or more alphanumeric characters followed by an underscore, setting key from prediction.cell_subtype_ to predictioncellsubtype_Warning: Keys should be one or more alphanumeric characters followed by an underscore, setting key from prediction.cell_type_ to predictioncelltype_Adding reduction pca
Adding cell embeddings for pca
Adding feature loadings for pca
Adding miscellaneous information for pca
Adding reduction umap
Adding cell embeddings for umap
Adding miscellaneous information for umap
Adding image P19
Error in (function (..., row.names = NULL, check.rows = FALSE, check.names = TRUE,  : 
  row names supplied are of the wrong length

How can I solve this ?

R version 4.3.0 (2023-04-21)
Platform: aarch64-apple-darwin20 (64-bit)
Running under: macOS Ventura 13.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

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

time zone: Europe/Paris
tzcode source: internal

attached base packages:
[1] parallel  grid      stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] SeuratDisk_0.0.0.9020 matrixStats_0.63.0    rlist_0.4.6.2         ReactomePA_1.44.0    
 [5] harmony_0.1.1         Rcpp_1.0.10           data.table_1.14.8     UCell_2.4.0          
 [9] qs_0.25.5             BiocParallel_1.34.1   clusterProfiler_4.8.1 ComplexHeatmap_2.16.0
[13] lubridate_1.9.2       forcats_1.0.0         stringr_1.5.0         dplyr_1.1.2          
[17] purrr_1.0.1           readr_2.1.4           tidyr_1.3.0           tibble_3.2.1         
[21] ggplot2_3.4.2         tidyverse_2.0.0       SeuratObject_4.1.3    Seurat_4.3.0         

loaded via a namespace (and not attached):
  [1] spatstat.sparse_3.0-1       bitops_1.0-7                enrichplot_1.20.0          
  [4] HDO.db_0.99.1               httr_1.4.6                  RColorBrewer_1.1-3         
  [7] doParallel_1.0.17           tools_4.3.0                 sctransform_0.3.5          
 [10] utf8_1.2.3                  R6_2.5.1                    lazyeval_0.2.2             
 [13] uwot_0.1.14                 GetoptLong_1.0.5            withr_2.5.0                
 [16] sp_1.6-0                    graphite_1.46.0             gridExtra_2.3              
 [19] progressr_0.13.0            cli_3.6.1                   Biobase_2.60.0             
 [22] spatstat.explore_3.2-1      scatterpie_0.1.9            spatstat.data_3.0-1        
 [25] ggridges_0.5.4              pbapply_1.7-0               yulab.utils_0.0.6          
 [28] gson_0.1.0                  DOSE_3.26.1                 parallelly_1.35.0          
 [31] rstudioapi_0.14             RSQLite_2.3.1               generics_0.1.3             
 [34] gridGraphics_0.5-1          shape_1.4.6                 RApiSerialize_0.1.2        
 [37] ica_1.0-3                   spatstat.random_3.1-5       GO.db_3.17.0               
 [40] Matrix_1.5-4                fansi_1.0.4                 S4Vectors_0.38.1           
 [43] abind_1.4-5                 lifecycle_1.0.3             yaml_2.3.7                 
 [46] SummarizedExperiment_1.30.1 qvalue_2.32.0               Rtsne_0.16                 
 [49] blob_1.2.4                  promises_1.2.0.1            crayon_1.5.2               
 [52] miniUI_0.1.1.1              lattice_0.21-8              cowplot_1.1.1              
 [55] KEGGREST_1.40.0             pillar_1.9.0                knitr_1.42                 
 [58] fgsea_1.26.0                GenomicRanges_1.52.0        rjson_0.2.21               
 [61] future.apply_1.10.0         codetools_0.2-19            fastmatch_1.1-3            
 [64] leiden_0.4.3                glue_1.6.2                  downloader_0.4             
 [67] ggfun_0.0.9                 vctrs_0.6.2                 png_0.1-8                  
 [70] treeio_1.24.0               gtable_0.3.3                cachem_1.0.8               
 [73] xfun_0.39                   S4Arrays_1.0.1              mime_0.12                  
 [76] tidygraph_1.2.3             survival_3.5-5              SingleCellExperiment_1.22.0
 [79] iterators_1.0.14            ellipsis_0.3.2              fitdistrplus_1.1-11        
 [82] ROCR_1.0-11                 nlme_3.1-162                ggtree_3.8.0               
 [85] bit64_4.0.5                 RcppAnnoy_0.0.20            GenomeInfoDb_1.36.0        
 [88] irlba_2.3.5.1               KernSmooth_2.23-21          colorspace_2.1-0           
 [91] BiocGenerics_0.46.0         DBI_1.1.3                   tidyselect_1.2.0           
 [94] bit_4.0.5                   compiler_4.3.0              graph_1.78.0               
 [97] BiocNeighbors_1.18.0        hdf5r_1.3.8                 DelayedArray_0.26.2        
[100] plotly_4.10.1               stringfish_0.15.7           shadowtext_0.1.2           
[103] scales_1.2.1                lmtest_0.9-40               rappdirs_0.3.3             
[106] digest_0.6.31               goftest_1.2-3               spatstat.utils_3.0-3       
[109] rmarkdown_2.21              XVector_0.40.0              htmltools_0.5.5            
[112] pkgconfig_2.0.3             MatrixGenerics_1.12.0       fastmap_1.1.1              
[115] rlang_1.1.1                 GlobalOptions_0.1.2         htmlwidgets_1.6.2          
[118] shiny_1.7.4                 farver_2.1.1                zoo_1.8-12                 
[121] jsonlite_1.8.4              GOSemSim_2.26.0             RCurl_1.98-1.12            
[124] magrittr_2.0.3              GenomeInfoDbData_1.2.10     ggplotify_0.1.0            
[127] patchwork_1.1.2             munsell_0.5.0               ape_5.7-1                  
[130] viridis_0.6.3               reticulate_1.28             stringi_1.7.12             
[133] ggraph_2.1.0                zlibbioc_1.46.0             MASS_7.3-60                
[136] plyr_1.8.8                  listenv_0.9.0               ggrepel_0.9.3              
[139] deldir_1.0-6                Biostrings_2.68.0           graphlayouts_1.0.0         
[142] splines_4.3.0               tensor_1.5                  hms_1.1.3                  
[145] circlize_0.4.15             igraph_1.4.2                spatstat.geom_3.2-1        
[148] reshape2_1.4.4              stats4_4.3.0                evaluate_0.21              
[151] RcppParallel_5.1.7          tzdb_0.4.0                  foreach_1.5.2              
[154] tweenr_2.0.2                httpuv_1.6.11               RANN_2.6.1                 
[157] polyclip_1.10-4             future_1.32.0               clue_0.3-64                
[160] scattermore_1.0             ggforce_0.4.1               xtable_1.8-4               
[163] reactome.db_1.84.0          tidytree_0.4.2              later_1.3.1                
[166] viridisLite_0.4.2           aplot_0.1.10                memoise_2.0.1              
[169] AnnotationDbi_1.62.1        IRanges_2.34.0              cluster_2.1.4              
[172] timechange_0.2.0            globals_0.16.2