saeyslab / nichenetr

NicheNet: predict active ligand-target links between interacting cells
452 stars 113 forks source link

issue running get_prioritization_tables #223

Closed iichelhadi closed 10 months ago

iichelhadi commented 10 months ago

Hi guys,

I get the following error when running get_prioritization_tables

Error in `auto_copy()`:
! `x` and `y` must share the same src.
ℹ `x` is a <tbl_df/tbl/data.frame> object.
ℹ `y` is `NULL`.
ℹ Set `copy = TRUE` if `y` can be copied to the same source as `x` (may be
  slow).
Backtrace:
     ▆
  1. ├─nichenetr::get_prioritization_tables(output, prioritizing_weights)
  2. │ └─... %>% ...
  3. ├─dplyr::left_join(...)
  4. ├─dplyr::inner_join(...)
  5. ├─dplyr::inner_join(...)
  6. ├─dplyr::left_join(...)
  7. ├─dplyr::inner_join(...)
  8. ├─dplyr::inner_join(...)
  9. ├─dplyr::inner_join(...)
 10. └─dplyr:::inner_join.data.frame(...)
 11.   └─dplyr::auto_copy(x, y, copy = copy)
 12.     └─rlang::abort(bullets)
Execution halted

here is my sessionInfo()

R version 4.2.1 (2022-06-23)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: CentOS Linux 7 (Core)

Matrix products: default
BLAS/LAPACK: /nfs/app1/ebapps/arches/flat/software/FlexiBLAS/3.2.0-GCC-11.3.0/lib64/libflexiblas.so.3.2

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

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

other attached packages:
 [1] patchwork_1.1.1    forcats_1.0.0      stringr_1.5.0      dplyr_1.1.2       
 [5] purrr_1.0.1        readr_2.1.2        tidyr_1.3.0        tibble_3.2.1      
 [9] ggplot2_3.4.2      tidyverse_1.3.1    SeuratObject_4.1.3 Seurat_4.3.0      
[13] nichenetr_2.0.1   
loaded via a namespace (and not attached):
  [1] utf8_1.2.3             spatstat.explore_3.2-1 reticulate_1.30       
  [4] tidyselect_1.2.0       htmlwidgets_1.6.2      grid_4.2.1            
  [7] Rtsne_0.16             pROC_1.18.4            munsell_0.5.0         
 [10] codetools_0.2-19       ica_1.0-3              interp_1.1-4          
 [13] future_1.33.0          miniUI_0.1.1.1         withr_2.5.0           
 [16] spatstat.random_3.1-5  colorspace_2.1-0       progressr_0.13.0      
 [19] knitr_1.43             rstudioapi_0.15.0      stats4_4.2.1          
 [22] ROCR_1.0-11            tensor_1.5             listenv_0.9.0         
 [25] polyclip_1.10-4        farver_2.1.1           parallelly_1.36.0     
 [28] vctrs_0.6.3            generics_0.1.3         ipred_0.9-14          
 [31] xfun_0.39              timechange_0.2.0       randomForest_4.7-1.1  
 [34] R6_2.5.1               doParallel_1.0.17      clue_0.3-64           
 [37] bitops_1.0-7           spatstat.utils_3.0-3   promises_1.2.0.1      
 [40] scales_1.2.1           nnet_7.3-19            gtable_0.3.3          
 [43] globals_0.16.2         goftest_1.2-3          timeDate_4022.108     
 [46] rlang_1.1.1            GlobalOptions_0.1.2    splines_4.2.1         
 [49] lazyeval_0.2.2         ModelMetrics_1.2.2.2   spatstat.geom_3.2-2   
 [52] broom_0.8.0            checkmate_2.2.0        modelr_0.1.8          
 [55] reshape2_1.4.4         abind_1.4-5            backports_1.4.1       
 [58] httpuv_1.6.11          Hmisc_4.7-0            caret_6.0-94          
 [61] DiagrammeR_1.0.9       tools_4.2.1            lava_1.7.2.1          
 [64] ellipsis_0.3.2         RColorBrewer_1.1-3     proxy_0.4-27          
 [67] BiocGenerics_0.44.0    ggridges_0.5.3         Rcpp_1.0.11           
 [70] plyr_1.8.8             base64enc_0.1-3        visNetwork_2.1.2      
 [73] rpart_4.1.19           deldir_1.0-9           pbapply_1.7-2         
 [76] GetoptLong_1.0.5       cowplot_1.1.1          S4Vectors_0.36.2      
 [79] zoo_1.8-12             haven_2.5.0            ggrepel_0.9.3         
 [82] cluster_2.1.4          fs_1.6.3               magrittr_2.0.3        
 [85] data.table_1.14.8      scattermore_0.8        circlize_0.4.15       
 [88] reprex_2.0.1           lmtest_0.9-40          RANN_2.6.1            
 [91] ggnewscale_0.4.7       fitdistrplus_1.1-11    matrixStats_1.0.0     
 [94] hms_1.1.3              mime_0.12              xtable_1.8-4          
 [97] jpeg_0.1-10            readxl_1.4.3           IRanges_2.32.0        
[100] gridExtra_2.3          shape_1.4.6            compiler_4.2.1        
[103] KernSmooth_2.23-22     crayon_1.5.2           shadowtext_0.1.2      
[106] htmltools_0.5.5        later_1.3.1            tzdb_0.4.0            
[109] Formula_1.2-5          lubridate_1.9.2        DBI_1.1.3             
[112] tweenr_2.0.2           dbplyr_2.3.3           ComplexHeatmap_2.14.0 
[115] MASS_7.3-60            Matrix_1.6-0           cli_3.6.1             
[118] parallel_4.2.1         gower_1.0.1            igraph_1.5.0          
[121] pkgconfig_2.0.3        foreign_0.8-84         sp_2.0-0              
[124] plotly_4.10.0          spatstat.sparse_3.0-2  recipes_0.2.0         
[127] xml2_1.3.5             foreach_1.5.2          hardhat_1.1.0         
[130] prodlim_2023.03.31     rvest_1.0.3            digest_0.6.33         
[133] sctransform_0.3.5      RcppAnnoy_0.0.21       spatstat.data_3.0-1   
[136] cellranger_1.1.0       leiden_0.4.3           htmlTable_2.4.1       
[139] uwot_0.1.16            shiny_1.7.4.1          rjson_0.2.21          
[142] lifecycle_1.0.3        nlme_3.1-162           jsonlite_1.8.7        
[145] viridisLite_0.4.2      limma_3.54.2           fansi_1.0.4           
[148] pillar_1.9.0           lattice_0.21-8         fastmap_1.1.1         
[151] httr_1.4.6             survival_3.3-1         glue_1.6.2            
[154] fdrtool_1.2.17         png_0.1-8              iterators_1.0.14      
[157] ggforce_0.3.3          class_7.3-22           stringi_1.7.12        
[160] latticeExtra_0.6-30    caTools_1.18.2         irlba_2.3.5.1         
[163] e1071_1.7-13           future.apply_1.11.0   
iichelhadi commented 10 months ago

resolved in https://github.com/saeyslab/nichenetr/issues/131