Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

could not find function "computeCellDistance" #302

Open
honeymelontoast opened this issue Jan 29, 2025 · 0 comments
Open

could not find function "computeCellDistance" #302

honeymelontoast opened this issue Jan 29, 2025 · 0 comments

Comments

@honeymelontoast
Copy link

I'm trying to load the spatial transcriptomic information from a Xenium object consisting of multiple samples and ran into this error when trying to compute the cell distance:

> d = computeCellDistance(spatial.locs)
Error in computeCellDistance(spatial.locs) : could not find function "computeCellDistance"

I haven't seen this error arise in previous cases. Would anyone have an idea of the cause of this issue?

R version 4.4.1 (2024-06-14)
Platform: aarch64-apple-darwin20
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.4-arm64/Resources/lib/libRlapack.dylib;  LAPACK version 3.12.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: America/Toronto
tzcode source: internal

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

other attached packages:
 [1] CellChat_1.5.0                    Biobase_2.64.0                    igraph_2.1.1                     
 [4] clustree_0.5.1                    ggraph_2.2.1                      arrow_18.1.0.1                   
 [7] viridis_0.6.5                     viridisLite_0.4.2                 BSgenome.Hsapiens.UCSC.hg38_1.4.5
[10] BSgenome_1.72.0                   rtracklayer_1.64.0                BiocIO_1.14.0                    
[13] Biostrings_2.72.1                 XVector_0.44.0                    GenomicRanges_1.56.2             
[16] GenomeInfoDb_1.40.1               IRanges_2.38.1                    S4Vectors_0.42.1                 
[19] BiocGenerics_0.50.0               Seurat_5.1.0                      SeuratObject_5.0.2               
[22] sp_2.1-4                          Signac_1.14.0                     openxlsx_4.2.7.1                 
[25] patchwork_1.3.0                   lubridate_1.9.3                   forcats_1.0.0                    
[28] stringr_1.5.1                     dplyr_1.1.4                       purrr_1.0.2                      
[31] readr_2.1.5                       tidyr_1.3.1                       tibble_3.2.1                     
[34] ggplot2_3.5.1                     tidyverse_2.0.0                  

loaded via a namespace (and not attached):
  [1] matrixStats_1.4.1           spatstat.sparse_3.1-0       bitops_1.0-9                httr_1.4.7                 
  [5] RColorBrewer_1.1-3          doParallel_1.0.17           tools_4.4.1                 sctransform_0.4.1          
  [9] backports_1.5.0             utf8_1.2.4                  R6_2.5.1                    lazyeval_0.2.2             
 [13] uwot_0.2.2                  GetoptLong_1.0.5            withr_3.0.1                 gridExtra_2.3              
 [17] progressr_0.14.0            cli_3.6.3                   textshaping_0.4.0           spatstat.explore_3.3-2     
 [21] fastDummies_1.7.4           network_1.18.2              labeling_0.4.3              spatstat.data_3.1-2        
 [25] ggridges_0.5.6              pbapply_1.7-2               Rsamtools_2.20.0            systemfonts_1.1.0          
 [29] svglite_2.1.3               R.utils_2.12.3              parallelly_1.38.0           limma_3.60.6               
 [33] rstudioapi_0.17.1           FNN_1.1.4.1                 shape_1.4.6.1               generics_0.1.3             
 [37] ica_1.0-3                   spatstat.random_3.3-2       car_3.1-3                   zip_2.3.1                  
 [41] Matrix_1.7-1                ggbeeswarm_0.7.2            fansi_1.0.6                 abind_1.4-8                
 [45] R.methodsS3_1.8.2           lifecycle_1.0.4             yaml_2.3.10                 carData_3.0-5              
 [49] SummarizedExperiment_1.34.0 SparseArray_1.4.8           Rtsne_0.17                  grid_4.4.1                 
 [53] promises_1.3.0              crayon_1.5.3                miniUI_0.1.1.1              lattice_0.22-6             
 [57] cowplot_1.1.3               sna_2.8                     pillar_1.9.0                ComplexHeatmap_2.20.0      
 [61] rjson_0.2.23                future.apply_1.11.2         codetools_0.2-20            fastmatch_1.1-4            
 [65] leiden_0.4.3.1              glue_1.8.0                  spatstat.univar_3.0-1       data.table_1.16.2          
 [69] vctrs_0.6.5                 png_0.1-8                   spam_2.11-0                 gtable_0.3.5               
 [73] assertthat_0.2.1            cachem_1.1.0                S4Arrays_1.4.1              mime_0.12                  
 [77] tidygraph_1.3.1             coda_0.19-4.1               survival_3.6-4              RcppRoll_0.3.1             
 [81] iterators_1.0.14            statmod_1.5.0               fitdistrplus_1.2-1          ROCR_1.0-11                
 [85] nlme_3.1-164                bit64_4.5.2                 RcppAnnoy_0.0.22            irlba_2.3.5.1              
 [89] vipor_0.4.7                 KernSmooth_2.23-24          colorspace_2.1-1            ggrastr_1.0.2              
 [93] tidyselect_1.2.1            bit_4.5.0                   compiler_4.4.1              curl_5.2.3                 
 [97] hdf5r_1.3.11                DelayedArray_0.30.1         plotly_4.10.4               checkmate_2.3.2            
[101] scales_1.3.0                lmtest_0.9-40               NMF_0.28                    digest_0.6.37              
[105] goftest_1.2-3               presto_1.0.0                spatstat.utils_3.1-0        htmltools_0.5.8.1          
[109] pkgconfig_2.0.3             MatrixGenerics_1.16.0       fastmap_1.2.0               GlobalOptions_0.1.2        
[113] rlang_1.1.4                 htmlwidgets_1.6.4           UCSC.utils_1.0.0            shiny_1.9.1                
[117] farver_2.1.2                zoo_1.8-12                  jsonlite_1.8.9              statnet.common_4.10.0      
[121] BiocParallel_1.38.0         R.oo_1.27.0                 RCurl_1.98-1.16             magrittr_2.0.3             
[125] Formula_1.2-5               GenomeInfoDbData_1.2.12     dotCall64_1.2               munsell_0.5.1              
[129] Rcpp_1.0.13                 reticulate_1.39.0           stringi_1.8.4               ggalluvial_0.12.5          
[133] zlibbioc_1.50.0             MASS_7.3-60.2               plyr_1.8.9                  parallel_4.4.1             
[137] listenv_0.9.1               ggrepel_0.9.6               deldir_2.0-4                graphlayouts_1.2.0         
[141] splines_4.4.1               tensor_1.5                  circlize_0.4.16             hms_1.1.3                  
[145] ggpubr_0.6.0                spatstat.geom_3.3-3         ggsignif_0.6.4              RcppHNSW_0.6.0             
[149] rngtools_1.5.2              reshape2_1.4.4              XML_3.99-0.17               BiocManager_1.30.25        
[153] tzdb_0.4.0                  foreach_1.5.2               tweenr_2.0.3                httpuv_1.6.15              
[157] RANN_2.6.2                  polyclip_1.10-7             clue_0.3-65                 future_1.34.0              
[161] scattermore_1.2             gridBase_0.4-7              ggforce_0.4.2               broom_1.0.7                
[165] xtable_1.8-4                restfulr_0.0.15             RSpectra_0.16-2             rstatix_0.7.2              
[169] later_1.3.2                 ragg_1.3.3                  memoise_2.0.1               beeswarm_0.4.0             
[173] registry_0.5-1              GenomicAlignments_1.40.0    cluster_2.1.6               timechange_0.3.0           
[177] globals_0.16.3             


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant