Closed bioshot-dotcom closed 2 weeks ago
Hello, This error suggests that after the translation to mouse by orthologous gene pairs, zero rows remained in the data frame. One reason might be a corrupt cache item left behind after a failed download. To test this, I recommend to try with an empty cache:
library(OmnipathR)
library(decoupleR)
omnipath_set_console_loglevel('trace')
omnipath_set_cachedir(tempdir())
pr <- get_progeny(organism = 'mouse')
I tried but I keep getting the same error, instead I solved with this:
net = as.tibble(progeny::model_mouse_full)
net <- net %>%
mutate(target = as.character(gene),
source = as.character(pathway)) %>%
select(-gene, -pathway)
Hello!
I was following this tutorial (https://saezlab.github.io/decoupleR/articles/pw_bk.html) for pathway activity inference. I have mouse data, so I tried:
net <- get_progeny(organism = 'mouse', top = 100)
but I got this:
R version: 4.4.1 decoupleR: 2.10.0 OmnipathR: 3.11.10 dplyr: 1.1.4 tibble: 3.2.1 tidyr: 1.3.1