My clusterProfiler was working well (I don't remember which version I had). Then I tried to conduct a customized enrichment analysis in tomato following the instructions given here https://www.biostars.org/p/9544007/.
Cluster profiler could not find any match for gene IDs and reading a lot in the web, I followed the recommendation of updating R and clusterProfiler. I know have R 4.3.1 in my MacBookPro silicon M1 and clusterProfiler 4.9.2.
Now clusterProfiler is not even able to load, this is one happens:
library(clusterProfiler)
Error: package or namespace load failed for clusterProfiler:
object HPOGENE is not exported by namespace HPO.db
I have tried everything and nothing fixed the problem so far. Any help would be highly appreciated. THANKS!
sessionInfo( )
R version 4.3.1 (2023-06-16)
Platform: aarch64-apple-darwin20 (64-bit)
Running under: macOS Ventura 13.5
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: America/Edmonton
tzcode source: internal
attached base packages:
[1] stats4 stats graphics grDevices utils datasets methods base
other attached packages:
[1] pheatmap_1.0.12 gplots_3.1.3
[3] ggplot2_3.4.4 RColorBrewer_1.1-3
[5] DESeq2_1.42.0 SummarizedExperiment_1.32.0
[7] Biobase_2.62.0 MatrixGenerics_1.14.0
[9] matrixStats_1.0.0 GenomicRanges_1.54.0
[11] GenomeInfoDb_1.38.0 IRanges_2.36.0
[13] S4Vectors_0.40.0 BiocGenerics_0.48.0
loaded via a namespace (and not attached):
[1] KEGGREST_1.42.0 GOSemSim_2.29.0 gtable_0.3.4
[4] HPO.db_1.2 caTools_1.18.2 lattice_0.22-5
[7] vctrs_0.6.4 tools_4.3.1 bitops_1.0-7
[10] generics_0.1.3 parallel_4.3.1 tibble_3.2.1
[13] fansi_1.0.5 AnnotationDbi_1.64.0 RSQLite_2.3.1
[16] blob_1.2.4 pkgconfig_2.0.3 Matrix_1.6-1.1
[19] KernSmooth_2.23-22 lifecycle_1.0.3 GenomeInfoDbData_1.2.11
[22] HDO.db_0.99.1 compiler_4.3.1 Biostrings_2.69.2
[25] munsell_0.5.0 codetools_0.2-19 RCurl_1.98-1.12
[28] GO.db_3.18.0 pillar_1.9.0 crayon_1.5.2
[31] BiocParallel_1.36.0 DelayedArray_0.28.0 cachem_1.0.8
[34] abind_1.4-5 gtools_3.9.4 tidyselect_1.2.0
[37] locfit_1.5-9.8 dplyr_1.1.3 fastmap_1.1.1
[40] grid_4.3.1 colorspace_2.1-0 cli_3.6.1
[43] SparseArray_1.2.0 magrittr_2.0.3 S4Arrays_1.2.0
[46] utf8_1.2.4 withr_2.5.1 scales_1.2.1
[49] bit64_4.0.5 httr_1.4.7 XVector_0.42.0
[52] bit_4.0.5 png_0.1-8 memoise_2.0.1
[55] rlang_1.1.1 Rcpp_1.0.11 glue_1.6.2
[58] DBI_1.1.3 rstudioapi_0.15.0 R6_2.5.1
[61] zlibbioc_1.48.0
Thanks James. However, I installed HPO.db with BiocManager and 1.2 is the version installed. Where can I find version 0.99.2? I also tried installing with remotes::install_github("YuLab-SMU/HPO.db") but it does not work. It fails with the following error: Error: package or namespace load failed for HPO.db: .onLoad failed in loadNamespace() for HPO.db, details: call: collect(., Inf) error: Failed to collect lazy table. Caused by error in db_collect()`: ! Arguments in ...must be used. Problematic argument: ..1 = Inf Did you misspell an argument name? Error: loading failed
I reinstalled dplyr and dbplyr, but this did not solve the problem.
See this or use the local version of HPO.db.