ncborcherding / scRepertoire

A toolkit for single-cell immune profiling
https://www.borch.dev/uploads/screpertoire/
MIT License
306 stars 52 forks source link

V2.0.4: could not find function "clonalQuant" #392

Closed yujuanGG closed 3 months ago

yujuanGG commented 3 months ago

Hi! I updated the version of scRepertoire to V2.0.4. I got the error:

Error in clonalQuant(combined.TCR, cloneCall = "strict", chain = "both",  : 
  could not find function "clonalQuant"

It happened the same for clonalCompare. The code was running fine for V2.0.0.

I attached my session info as below. Could you kindly take a look? Thanks!

R version 4.3.0 (2023-04-21)
Platform: x86_64-apple-darwin20 (64-bit)
Running under: macOS 14.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-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: Europe/Amsterdam
tzcode source: internal

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

other attached packages:
 [1] data.table_1.15.4  scRepertoire_2.0.4 lubridate_1.9.3    forcats_1.0.0     
 [5] stringr_1.5.1      dplyr_1.1.4        purrr_1.0.2        readr_2.1.5       
 [9] tidyr_1.3.1        tibble_3.2.1       ggplot2_3.5.1      tidyverse_2.0.0   

loaded via a namespace (and not attached):
  [1] rstudioapi_0.16.0           magrittr_2.0.3              farver_2.1.2               
  [4] fs_1.6.4                    zlibbioc_1.48.2             vctrs_0.6.5                
  [7] truncdist_1.0-2             memoise_2.0.1               RCurl_1.98-1.16            
 [10] usethis_2.2.3               htmltools_0.5.8.1           S4Arrays_1.2.1             
 [13] curl_5.2.1                  SparseArray_1.2.4           parallelly_1.37.1          
 [16] evmix_2.12                  desc_1.4.3                  htmlwidgets_1.6.4          
 [19] plyr_1.8.9                  cachem_1.1.0                igraph_2.0.3               
 [22] mime_0.12                   lifecycle_1.0.4             iterators_1.0.14           
 [25] pkgconfig_2.0.3             Matrix_1.6-5                R6_2.5.1                   
 [28] fastmap_1.2.0               GenomeInfoDbData_1.2.11     MatrixGenerics_1.14.0      
 [31] future_1.33.2               shiny_1.8.1.1               digest_0.6.36              
 [34] colorspace_2.1-0            ps_1.7.7                    S4Vectors_0.40.2           
 [37] pkgload_1.4.0               GenomicRanges_1.54.1        vegan_2.6-6.1              
 [40] progressr_0.14.0            fansi_1.0.6                 timechange_0.3.0           
 [43] polyclip_1.10-6             abind_1.4-5                 mgcv_1.9-1                 
 [46] compiler_4.3.0              remotes_2.5.0               withr_3.0.0                
 [49] doParallel_1.0.17           gsl_2.1-8                   viridis_0.6.5              
 [52] pkgbuild_1.4.4              ggforce_0.4.2               MASS_7.3-60.0.1            
 [55] sessioninfo_1.2.2           DelayedArray_0.28.0         permute_0.9-7              
 [58] tools_4.3.0                 httpuv_1.6.15               future.apply_1.11.2        
 [61] glue_1.7.0                  callr_3.7.6                 powerTCR_1.22.0            
 [64] nlme_3.1-165                promises_1.3.0              grid_4.3.0                 
 [67] stringdist_0.9.12           cluster_2.1.6               reshape2_1.4.4             
 [70] generics_0.1.3              gtable_0.3.5                tzdb_0.4.0                 
 [73] hms_1.1.3                   tidygraph_1.3.1             sp_2.1-4                   
 [76] utf8_1.2.4                  XVector_0.42.0              BiocGenerics_0.48.1        
 [79] ggrepel_0.9.5               foreach_1.5.2               pillar_1.9.0               
 [82] spam_2.10-0                 later_1.3.2                 splines_4.3.0              
 [85] tweenr_2.0.3                lattice_0.22-6              SparseM_1.84               
 [88] tidyselect_1.2.1            SingleCellExperiment_1.24.0 miniUI_0.1.1.1             
 [91] knitr_1.48                  gridExtra_2.3               IRanges_2.36.0             
 [94] SummarizedExperiment_1.32.0 stats4_4.3.0                xfun_0.45                  
 [97] graphlayouts_1.1.1          Biobase_2.62.0              devtools_2.4.5             
[100] matrixStats_1.3.0           stringi_1.8.4               VGAM_1.1-11                
[103] codetools_0.2-20            evd_2.3-7                   ggraph_2.2.1               
[106] cli_3.6.3                   xtable_1.8-4                processx_3.8.4             
[109] munsell_0.5.1               Rcpp_1.0.12                 GenomeInfoDb_1.38.8        
[112] globals_0.16.3              parallel_4.3.0              ellipsis_0.3.2             
[115] dotCall64_1.1-1             ggalluvial_0.12.5           cubature_2.1.0             
[118] profvis_0.3.8               urlchecker_1.0.1            bitops_1.0-7               
[121] listenv_0.9.1               viridisLite_0.4.2           scales_1.3.0               
[124] SeuratObject_5.0.2          crayon_1.5.3                rlang_1.1.4    
ncborcherding commented 3 months ago

Hey @yujuanGG,

I see this commonly after upgrading versions and not restarting your R session. Could you restart and check if your code works?

Thanks, Nick