carmonalab / ProjecTILs

Interpretation of cell states using reference single-cell maps
GNU General Public License v3.0
231 stars 27 forks source link

No Run.ProjecTILs funtion #55

Closed zhao-xinlu closed 1 year ago

zhao-xinlu commented 1 year ago

I installed ProjecTILs from github and successful import. But when I run the code: query.projected <- Run.ProjecTILs(haha, ref = ref), it show "could not find function "Run.ProjecTILs"", code and errer information is blow:

library(ProjecTILs) query.projected <- Run.ProjecTILs(haha, ref = ref) Error in Run.ProjecTILs(haha, ref = ref) : could not find function "Run.ProjecTILs"

My sessionInfo is blow:

library(ProjecTILs) sessionInfo() R version 4.2.2 (2022-10-31 ucrt) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 22621)

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

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

other attached packages: [1] remotes_2.4.2 ProjecTILs_2.2.1 scGate_1.2.0
[4] UCell_2.1.1 pracma_2.3.6 scales_1.1.1
[7] reshape2_1.4.4 gridExtra_2.3 BiocParallel_1.26.2 [10] Matrix_1.5-3 umap_0.2.7.0 dplyr_1.0.7
[13] ggplot2_3.3.5 SeuratObject_4.1.3 Seurat_4.3.0

mass-a commented 1 year ago

Hello

from your SessionInfo() it seems you are running an older version of ProjecTILs. The Run.ProjecTILs wrapper was introduced starting from version 2.3. I suggest you update the package to the newest version to enable that functionality.

Best -m