-
Notifications
You must be signed in to change notification settings - Fork 36
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
Question about [my question]Error in !CheckWGCNAName(seurat_obj, wgcna_name) : invalid argument type #334
Comments
Can you please update hdWGCNA to the latest version and run it again? |
Hi! I have the same problem
Matrix products: default locale: time zone: Asia/Shanghai attached base packages: other attached packages: loaded via a namespace (and not attached): And I installed the latest version of hdWCGNA as mentioned above hdWGCNA_0.4.00 and run it again. |
I'm encoutering the same error at the same step:
i'm with seurat v5 and the last update of your package (0.4.0) I found a solution. I don't know why but seurat_obj$misc$active_wgcna hasn't been create properly, so i just had to create this variable:
and it work. |
Is anybody able to provide a reproducible example of this error on the latest version of hdWGCNA? I cannot reproduce it on my side. |
So I did an singularity environment, I didn't have time to test it in order to see if the error is still there in this configuration. I can't give you any data because it is patient data. As i said i think it come from a bad initialization of the misc$activate_wgcna variable in the seurat object. Perhaps in my case it is due to the fact that I used previously Seurat v4 for my annotation analysis and you're using Seurat v5 so may be the seurat object is kind working differently with your package. Again this is working: |
When I used ModuleEigengenes, the questtion is this
seurat_obj <- ModuleEigengenes(
Error in !CheckWGCNAName(seurat_obj, wgcna_name) : invalid argument type
Then, I re-install the package and try, also don't work
sessionInfo()
R version 4.4.2 (2024-10-31 ucrt)
Platform: x86_64-w64-mingw32/x64
Running under: Windows 11 x64 (build 22631)
Matrix products: default
locale:
[1] LC_COLLATE=Chinese (Simplified)_China.utf8
[2] LC_CTYPE=Chinese (Simplified)_China.utf8
[3] LC_MONETARY=Chinese (Simplified)_China.utf8
[4] LC_NUMERIC=C
[5] LC_TIME=Chinese (Simplified)_China.utf8
time zone: Asia/Shanghai
tzcode source: internal
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] hdWGCNA_0.3.00 igraph_2.1.1 ggrepel_0.9.6
[4] harmony_1.2.1 Rcpp_1.0.13-1 WGCNA_1.73
[7] fastcluster_1.2.6 dynamicTreeCut_1.63-1 patchwork_1.3.0
[10] cowplot_1.1.3 lubridate_1.9.3 forcats_1.0.0
[13] stringr_1.5.1 dplyr_1.1.4 purrr_1.0.2
[16] readr_2.1.5 tidyr_1.3.1 tibble_3.2.1
[19] ggplot2_3.5.1 tidyverse_2.0.0 Seurat_5.1.0
[22] SeuratObject_5.0.2 sp_2.1-4
loaded via a namespace (and not attached):
[1] RcppAnnoy_0.0.22 splines_4.4.2 later_1.3.2
[4] polyclip_1.10-7 preprocessCore_1.68.0 rpart_4.1.23
[7] fastDummies_1.7.4 lifecycle_1.0.4 doParallel_1.0.17
[10] globals_0.16.3 lattice_0.22-6 MASS_7.3-61
[13] backports_1.5.0 magrittr_2.0.3 rmarkdown_2.29
[16] Hmisc_5.2-0 plotly_4.10.4 remotes_2.5.0
[19] httpuv_1.6.15 sctransform_0.4.1 spam_2.11-0
[22] sessioninfo_1.2.2 pkgbuild_1.4.5 spatstat.sparse_3.1-0
[25] reticulate_1.39.0 pbapply_1.7-2 DBI_1.2.3
[28] RColorBrewer_1.1-3 zlibbioc_1.52.0 abind_1.4-8
[31] pkgload_1.4.0 Rtsne_0.17 BiocGenerics_0.52.0
[34] nnet_7.3-19 GenomeInfoDbData_1.2.13 IRanges_2.40.0
[37] S4Vectors_0.44.0 irlba_2.3.5.1 listenv_0.9.1
[40] spatstat.utils_3.1-1 goftest_1.2-3 RSpectra_0.16-2
[43] spatstat.random_3.3-2 fitdistrplus_1.2-1 parallelly_1.39.0
[46] commonmark_1.9.2 leiden_0.4.3.1 codetools_0.2-20
[49] xml2_1.3.6 tidyselect_1.2.1 UCSC.utils_1.2.0
[52] farver_2.1.2 tester_0.2.0 base64enc_0.1-3
[55] matrixStats_1.4.1 stats4_4.4.2 spatstat.explore_3.3-3
[58] jsonlite_1.8.9 Formula_1.2-5 ellipsis_0.3.2
[61] progressr_0.15.0 ggridges_0.5.6 survival_3.7-0
[64] iterators_1.0.14 foreach_1.5.2 tools_4.4.2
[67] ica_1.0-3 glue_1.8.0 gridExtra_2.3
[70] xfun_0.49 usethis_3.0.0 GenomeInfoDb_1.42.0
[73] withr_3.0.2 BiocManager_1.30.25 fastmap_1.2.0
[76] fansi_1.0.6 digest_0.6.37 timechange_0.3.0
[79] R6_2.5.1 mime_0.12 colorspace_2.1-1
[82] scattermore_1.2 GO.db_3.20.0 tensor_1.5
[85] spatstat.data_3.1-2 RSQLite_2.3.7 RhpcBLASctl_0.23-42
[88] utf8_1.2.4 generics_0.1.3 data.table_1.16.2
[91] FNN_1.1.4.1 httr_1.4.7 htmlwidgets_1.6.4
[94] uwot_0.2.2 pkgconfig_2.0.3 gtable_0.3.6
[97] blob_1.2.4 impute_1.80.0 lmtest_0.9-40
[100] XVector_0.46.0 htmltools_0.5.8.1 profvis_0.4.0
[103] dotCall64_1.2 scales_1.3.0 Biobase_2.66.0
[106] png_0.1-8 spatstat.univar_3.1-1 knitr_1.49
[109] rstudioapi_0.17.1 tzdb_0.4.0 reshape2_1.4.4
[112] checkmate_2.3.2 nlme_3.1-166 curl_6.0.0
[115] proxy_0.4-27 cachem_1.1.0 zoo_1.8-12
[118] KernSmooth_2.23-24 parallel_4.4.2 miniUI_0.1.1.1
[121] foreign_0.8-87 AnnotationDbi_1.68.0 pillar_1.9.0
[124] grid_4.4.2 vctrs_0.6.5 RANN_2.6.2
[127] urlchecker_1.0.1 promises_1.3.0 xtable_1.8-4
[130] cluster_2.1.6 htmlTable_2.4.3 evaluate_1.0.1
[133] cli_3.6.3 compiler_4.4.2 rlang_1.1.4
[136] crayon_1.5.3 future.apply_1.11.3 labeling_0.4.3
[139] plyr_1.8.9 fs_1.6.5 stringi_1.8.4
[142] viridisLite_0.4.2 deldir_2.0-4 munsell_0.5.1
[145] Biostrings_2.74.0 lazyeval_0.2.2 devtools_2.4.5
[148] spatstat.geom_3.3-3 Matrix_1.7-1 RcppHNSW_0.6.0
[151] hms_1.1.3 bit64_4.5.2 future_1.34.0
[154] KEGGREST_1.46.0 shiny_1.9.1 ROCR_1.0-11
[157] memoise_2.0.1 bit_4.5.0
The text was updated successfully, but these errors were encountered: