I liked the idea behind CONGAS, and I was about to try it on my dataset. But after installing I could not run the example datasets. The following error popped out:
> data(congas_example)
> print(congas_example)
── [ Rcongas ] ──────────────────────────────────────────────────────────────────────────────────
→ Data: 503 cells with 8564 genes, aggregated in 70 segments.
ℹ Clusters: k = 2, model with AIC = 577427.35.
● Cluster c1, n = 379 [75.35% of total cells].
● Cluster c2, n = 124 [24.65% of total cells].
── CNA highlights (alpha = 0.05)
Error in `mutate()`:
! Problem while computing `cluster = ifelse(...)`.
Caused by error in `str_starts()`:
! could not find function "str_starts"
Run `rlang::last_error()` to see where the error occurred.
> plot(congas_example)
Error in `mutate()`:
! Problem while computing `cluster = ifelse(...)`.
Caused by error in `str_starts()`:
! could not find function "str_starts"
Run `rlang::last_error()` to see where the error occurred.
> rlang::last_error()
<error/dplyr:::mutate_error>
Error in `mutate()`:
! Problem while computing `cluster = ifelse(...)`.
Caused by error in `str_starts()`:
! could not find function "str_starts"
---
Backtrace:
1. base::plot(congas_example)
22. base::ifelse(...)
Run `rlang::last_trace()` to see the full context.
It seems like a package version issue but I updated all the dependencies, so I am not sure if I should try some old versions for dplyr or stringr packages. Which versions did you use?
Hi @mmfalco, sorry totally my fault, forgot to import the actual function, should be fixed now.
Let me know if you find other bugs or need any help (by experience I know reticulate setup can be nasty).
I liked the idea behind CONGAS, and I was about to try it on my dataset. But after installing I could not run the example datasets. The following error popped out:
It seems like a package version issue but I updated all the dependencies, so I am not sure if I should try some old versions for
dplyr
orstringr
packages. Which versions did you use?