-
Notifications
You must be signed in to change notification settings - Fork 33
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
Error in .local(x, na.rm, dims, ...) : object 'CRsparse_colSums' not found error from RunAzimuth() #192
Comments
I'm getting the same issue, setup is on Windows 10 with Seurat v5 and updated Azimuth. |
Try reinstall irlba package may be helpful. It seems to be a conflict raised by latest Matrix (1.6.3) package. |
thanks for the quick response! However, after doing that, I'm still getting the same issue. |
Thank you for the reproducible example, this was also reported here.
Specifically, this is only an issue if you have |
Hi,
|
Dear @Gesmira, I have done the above fix but I keep getting this error when I run
My R version is 4.3.1 and I ran the I also saw in another thread that a possible fix might be to unload Azimuth, however as I am trying to run the Do you have any other fix suggestions? |
Hi @JarneBelien , |
Yes, I did restart the R session before the update. I tried again and get the same error. My session info is as follows: `R version 4.3.1 (2023-06-16 ucrt) Matrix products: default locale: time zone: Europe/Brussels attached base packages: other attached packages: loaded via a namespace (and not attached): |
After upgrading Seurat, SeuratData, and Azimuth to the most recent versions, then when I load Azimuth with library(Azimuth) I first get a warning that
Registered S3 method overwritten by 'SeuratDisk':
method from
as.sparse.H5Group Seurat
and then a number of methods stop working including Seurat::LoadNanostring(), Azimuth::RunAzimuth(), and Seurat::SCTransform(). The error does not happen until I've loaded library(Azimuth). These were all working before I updated to Seurat v5, but Azimuth seems to be breaking things by insisting on overwriting the as.sparse.H5Group method.
Example code:
Steps to reproduce:
library(Seurat)
obj <- SCTransform(obj, assay="RNA")
# it'll worklibrary(Azimuth)
obj <- SCTransform(obj, assay="RNA")
# it'll fail with CRsparse_colSums not found error.obj <- RunAzimuth(obj, <whatever parameters>)
# it'll fail too.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-x86_64/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: America/Denver
tzcode source: internal
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] Azimuth_0.5.0 shinyBS_0.61.1 dplyr_1.1.4 BPCells_0.1.0
[5] Seurat_5.0.1 ifnb.SeuratData_3.1.0 SeuratData_0.2.2.9001 SeuratObject_5.0.1
[9] sp_2.1-1
loaded via a namespace (and not attached):
[1] fs_1.6.3 ProtGenerics_1.34.0 matrixStats_1.1.0
[4] spatstat.sparse_3.0-3 bitops_1.0-7 DirichletMultinomial_1.44.0
[7] TFBSTools_1.40.0 httr_1.4.7 RColorBrewer_1.1-3
[10] tools_4.3.2 sctransform_0.4.1 utf8_1.2.4
[13] R6_2.5.1 DT_0.30 lazyeval_0.2.2
[16] uwot_0.1.16 rhdf5filters_1.14.1 withr_2.5.2
[19] prettyunits_1.2.0 gridExtra_2.3 progressr_0.14.0
[22] cli_3.6.1 Biobase_2.62.0 spatstat.explore_3.2-5
[25] fastDummies_1.7.3 EnsDb.Hsapiens.v86_2.99.0 shinyjs_2.1.0
[28] spatstat.data_3.0-3 readr_2.1.4 ggridges_0.5.4
[31] pbapply_1.7-2 Rsamtools_2.18.0 R.utils_2.12.3
[34] parallelly_1.36.0 BSgenome_1.70.1 rstudioapi_0.15.0
[37] RSQLite_2.3.3 generics_0.1.3 BiocIO_1.12.0
[40] gtools_3.9.4 ica_1.0-3 spatstat.random_3.2-1
[43] googlesheets4_1.1.1 GO.db_3.18.0 Matrix_1.6-3
[46] fansi_1.0.5 S4Vectors_0.40.1 abind_1.4-5
[49] R.methodsS3_1.8.2 lifecycle_1.0.4 yaml_2.3.7
[52] SummarizedExperiment_1.32.0 rhdf5_2.46.0 SparseArray_1.2.2
[55] BiocFileCache_2.10.1 Rtsne_0.16 grid_4.3.2
[58] blob_1.2.4 promises_1.2.1 shinydashboard_0.7.2
[61] crayon_1.5.2 miniUI_0.1.1.1 lattice_0.22-5
[64] cowplot_1.1.1 GenomicFeatures_1.54.1 annotate_1.80.0
[67] KEGGREST_1.42.0 pillar_1.9.0 GenomicRanges_1.54.1
[70] rjson_0.2.21 future.apply_1.11.0 codetools_0.2-19
[73] fastmatch_1.1-4 leiden_0.4.3.1 glue_1.6.2
[76] data.table_1.14.8 vctrs_0.6.4 png_0.1-8
[79] spam_2.10-0 cellranger_1.1.0 gtable_0.3.4
[82] poweRlaw_0.70.6 cachem_1.0.8 Signac_1.12.0
[85] S4Arrays_1.2.0 mime_0.12 pracma_2.4.4
[88] survival_3.5-7 gargle_1.5.2 RcppRoll_0.3.0
[91] ellipsis_0.3.2 fitdistrplus_1.1-11 ROCR_1.0-11
[94] nlme_3.1-163 bit64_4.0.5 progress_1.2.2
[97] filelock_1.0.2 RcppAnnoy_0.0.21 GenomeInfoDb_1.38.1
[100] irlba_2.3.5.1 KernSmooth_2.23-22 SeuratDisk_0.0.0.9021
[103] colorspace_2.1-0 seqLogo_1.68.0 BiocGenerics_0.48.1
[106] DBI_1.1.3 tidyselect_1.2.0 bit_4.0.5
[109] compiler_4.3.2 curl_5.1.0 hdf5r_1.3.8
[112] xml2_1.3.5 DelayedArray_0.28.0 plotly_4.10.3
[115] rtracklayer_1.62.0 scales_1.2.1 caTools_1.18.2
[118] lmtest_0.9-40 rappdirs_0.3.3 stringr_1.5.1
[121] digest_0.6.33 goftest_1.2-3 presto_1.0.0
[124] spatstat.utils_3.0-4 XVector_0.42.0 htmltools_0.5.7
[127] pkgconfig_2.0.3 MatrixGenerics_1.14.0 dbplyr_2.4.0
[130] fastmap_1.1.1 ensembldb_2.26.0 rlang_1.1.2
[133] htmlwidgets_1.6.2 shiny_1.8.0 zoo_1.8-12
[136] jsonlite_1.8.7 BiocParallel_1.36.0 R.oo_1.25.0
[139] RCurl_1.98-1.13 magrittr_2.0.3 GenomeInfoDbData_1.2.11
[142] dotCall64_1.1-0 patchwork_1.1.3 Rhdf5lib_1.24.0
[145] munsell_0.5.0 Rcpp_1.0.11 reticulate_1.34.0
[148] stringi_1.8.1 zlibbioc_1.48.0 MASS_7.3-60
[151] plyr_1.8.9 parallel_4.3.2 listenv_0.9.0
[154] ggrepel_0.9.4 deldir_1.0-9 CNEr_1.38.0
[157] Biostrings_2.70.1 splines_4.3.2 tensor_1.5
[160] hms_1.1.3 BSgenome.Hsapiens.UCSC.hg38_1.4.5 igraph_1.5.1
[163] spatstat.geom_3.2-7 RcppHNSW_0.5.0 reshape2_1.4.4
[166] biomaRt_2.58.0 stats4_4.3.2 TFMPvalue_0.0.9
[169] XML_3.99-0.15 JASPAR2020_0.99.10 tzdb_0.4.0
[172] httpuv_1.6.12 RANN_2.6.1 tidyr_1.3.0
[175] purrr_1.0.2 polyclip_1.10-6 future_1.33.0
[178] scattermore_1.2 ggplot2_3.4.4 xtable_1.8-4
[181] restfulr_0.0.15 AnnotationFilter_1.26.0 RSpectra_0.16-1
[184] later_1.3.1 googledrive_2.1.1 viridisLite_0.4.2
[187] tibble_3.2.1 memoise_2.0.1 AnnotationDbi_1.64.1
[190] GenomicAlignments_1.38.0 IRanges_2.36.0 cluster_2.1.4
[193] globals_0.16.2
The text was updated successfully, but these errors were encountered: