smorabit / hdWGCNA

High dimensional weighted gene co-expression network analysis
https://smorabit.github.io/hdWGCNA/
Other
315 stars 31 forks source link

One error for the function of ModuleEigengenes #245

Closed SuperSe7enF closed 1 month ago

SuperSe7enF commented 1 month ago

Hello! Thank you for creating such an awesome package! When i run this function, I had a error.

Code to run hdWGCNA initialization: sce1 <- ModuleEigengenes(sce1, group.by.vars = 'orig.ident') Error in !CheckWGCNAName(seurat_obj, wgcna_name) : 参数种类不对

R session info R version 4.3.1 (2023-06-16) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 18.04.6 LTS

Matrix products: default BLAS: /usr/lib/x86_64-linux-gnu/openblas/libblas.so.3 LAPACK: /usr/lib/x86_64-linux-gnu/libopenblasp-r0.2.20.so; LAPACK version 3.7.1

locale: [1] LC_CTYPE=zh_CN.UTF-8 LC_NUMERIC=C LC_TIME=zh_CN.UTF-8 LC_COLLATE=zh_CN.UTF-8
[5] LC_MONETARY=zh_CN.UTF-8 LC_MESSAGES=zh_CN.UTF-8 LC_PAPER=zh_CN.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=zh_CN.UTF-8 LC_IDENTIFICATION=C

time zone: Asia/Shanghai tzcode source: system (glibc)

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

other attached packages: [1] patchwork_1.1.3.9000 cowplot_1.1.1 lubridate_1.9.2 forcats_1.0.0 stringr_1.5.0
[6] dplyr_1.1.2 purrr_1.0.1 readr_2.1.4 tidyr_1.3.0 tibble_3.2.1
[11] tidyverse_2.0.0 hdWGCNA_0.3.00 igraph_1.5.0 WGCNA_1.72-1 fastcluster_1.2.3
[16] dynamicTreeCut_1.63-1 ggrepel_0.9.3 ggplot2_3.4.2 SeuratObject_4.1.3 Seurat_4.3.0
[21] harmony_1.2.0 Rcpp_1.0.10

loaded via a namespace (and not attached): [1] fs_1.6.2 matrixStats_1.0.0 spatstat.sparse_3.0-1 bitops_1.0-7
[5] enrichplot_1.20.0 HDO.db_0.99.1 httr_1.4.6 RColorBrewer_1.1-3
[9] doParallel_1.0.17 tools_4.3.1 sctransform_0.3.5 backports_1.4.1
[13] DT_0.28 utf8_1.2.3 R6_2.5.1 lazyeval_0.2.2
[17] uwot_0.1.14 GetoptLong_1.0.5 withr_2.5.0 sp_1.6-1
[21] gridExtra_2.3 preprocessCore_1.62.1 SeuratWrappers_0.3.1 progressr_0.13.0
[25] cli_3.6.1 Biobase_2.60.0 spatstat.explore_3.2-1 scatterpie_0.2.1
[29] labeling_0.4.2 spatstat.data_3.0-1 proxy_0.4-27 ggridges_0.5.4
[33] pbapply_1.7-0 ggheatmap_2.11 yulab.utils_0.1.4 gson_0.1.0
[37] foreign_0.8-82 DOSE_3.26.1 R.utils_2.12.2 parallelly_1.36.0
[41] impute_1.74.1 rstudioapi_0.14 RSQLite_2.3.1 FNN_1.1.3.2
[45] generics_0.1.3 gridGraphics_0.5-1 shape_1.4.6 ica_1.0-3
[49] spatstat.random_3.1-5 dendextend_1.17.1 car_3.1-2 GO.db_3.17.0
[53] Matrix_1.6-0 fansi_1.0.4 S4Vectors_0.38.1 abind_1.4-5
[57] R.methodsS3_1.8.2 lifecycle_1.0.3 carData_3.0-5 qvalue_2.32.0
[61] Rtsne_0.16 grid_4.3.1 blob_1.2.4 promises_1.2.0.1
[65] crayon_1.5.2 miniUI_0.1.1.1 lattice_0.21-8 KEGGREST_1.40.0
[69] knitr_1.43 pillar_1.9.0 ComplexHeatmap_2.16.0 fgsea_1.26.0
[73] rjson_0.2.21 future.apply_1.11.0 codetools_0.2-19 fastmatch_1.1-3
[77] leiden_0.4.3 glue_1.6.2 downloader_0.4 ggfun_0.1.0
[81] data.table_1.14.8 remotes_2.4.2 vctrs_0.6.3 png_0.1-8
[85] treeio_1.24.1 gtable_0.3.3 cachem_1.0.8 xfun_0.39
[89] mime_0.12 tidygraph_1.2.3 survival_3.5-5 pheatmap_1.0.12
[93] iterators_1.0.14 ellipsis_0.3.2 fitdistrplus_1.1-11 ROCR_1.0-11
[97] nlme_3.1-162 ggtree_3.8.0 bit64_4.0.5 RcppAnnoy_0.0.20
[101] GenomeInfoDb_1.36.0 irlba_2.3.5.1 KernSmooth_2.23-22 rpart_4.1.19
[105] colorspace_2.1-0 BiocGenerics_0.46.0 DBI_1.1.3 Hmisc_5.1-0
[109] nnet_7.3-19 tidyselect_1.2.0 bit_4.0.5 compiler_4.3.1
[113] htmlTable_2.4.1 plotly_4.10.2 shadowtext_0.1.2 checkmate_2.2.0
[117] scales_1.3.0 lmtest_0.9-40 digest_0.6.31 goftest_1.2-3
[121] spatstat.utils_3.0-3 rmarkdown_2.22 XVector_0.40.0 RhpcBLASctl_0.23-42
[125] htmltools_0.5.5 pkgconfig_2.0.3 base64enc_0.1-3 fastmap_1.1.1
[129] rlang_1.1.1 GlobalOptions_0.1.2 htmlwidgets_1.6.2 shiny_1.7.4
[133] farver_2.1.1 zoo_1.8-12 jsonlite_1.8.5 BiocParallel_1.34.2
[137] GOSemSim_2.26.1 R.oo_1.25.0 RCurl_1.98-1.12 magrittr_2.0.3
[141] Formula_1.2-5 GenomeInfoDbData_1.2.10 ggplotify_0.1.2 munsell_0.5.0
[145] ape_5.7-1 viridis_0.6.3 reticulate_1.34.0 stringi_1.7.12
[149] ggraph_2.1.0 jjAnno_0.0.3 zlibbioc_1.46.0 MASS_7.3-60
[153] plyr_1.8.8 parallel_4.3.1 listenv_0.9.0 deldir_1.0-9
[157] Biostrings_2.68.1 graphlayouts_1.0.0 splines_4.3.1 tensor_1.5
[161] hms_1.1.3 circlize_0.4.15 clustree_0.5.0 ggpubr_0.6.0
[165] spatstat.geom_3.2-1 ggsignif_0.6.4 reshape2_1.4.4 stats4_4.3.1
[169] evaluate_0.21 tester_0.1.7 BiocManager_1.30.21 tzdb_0.4.0
[173] foreach_1.5.2 tweenr_2.0.2 httpuv_1.6.11 RANN_2.6.1
[177] polyclip_1.10-4 future_1.32.0 clue_0.3-64 scattermore_1.2
[181] ggforce_0.4.1 rsvd_1.0.5 broom_1.0.5 xtable_1.8-4
[185] tidytree_0.4.2 rstatix_0.7.2 later_1.3.1 viridisLite_0.4.2
[189] clusterProfiler_4.8.3 aplot_0.1.10 memoise_2.0.1 AnnotationDbi_1.62.1
[193] IRanges_2.34.0 cluster_2.1.4 timechange_0.2.0 globals_0.16.2

smorabit commented 1 month ago

Can you please update to the latest version of hdWGCNA and try again?

SuperSe7enF commented 1 month ago

Upgrading hdWGCNA to version 0.3.01 worked for me, thank you!