saezlab / progeny

R package for Pathway RespOnsive GENe activity inference
https://saezlab.github.io/progeny/
Apache License 2.0
93 stars 19 forks source link

object "model_human_full" is not exported by 'namespace:progeny'' #37

Closed bhagwataditya closed 3 years ago

bhagwataditya commented 3 years ago

Dear progeny developers,

Thank you for your package, it is wonderful :-) But right now I am having an import problem, could you help? Thx! Reproducible example:

remotes::install_github('bhagwataditya/autonomics@devel', upgrade = FALSE)
require(magrittr)
file <- autonomics::download_data('billing16.rnacounts.txt')
object <- autonomics::read_rnaseq_counts(file, plot=FALSE)
object %<>% autonomics::fit_progeny(symbolvar = 'gene_name')

          Error in getModel(organism, top = top) : object 'model_human_full' not found
alberto-valdeolivas commented 3 years ago

Dear @bhagwataditya ,

Thanks for your interest in progeny. Can you let me know which version of progeny you are using? It is working fine for me:

library(progeny)

getModel(organism = "Human", top = 100)[1:6,1:6]
       Androgen EGFR  Estrogen Hypoxia JAK-STAT MAPK
ABCA12 0.000000    0  0.000000       0        0    0
ABCA6  0.000000    0  0.000000       0        0    0
ABCA8  0.000000    0  0.000000       0        0    0
ABCC4  9.374285    0  0.000000       0        0    0
ABCC5  0.000000    0 -4.854988       0        0    0
ACER2  0.000000    0  0.000000       0        0    0

packageVersion("progeny")
[1] ‘1.15.1’
bhagwataditya commented 3 years ago

Aha! Yes, upgrading from 1.12.0 to 1.15.1 resolves the issue. Thank you, also for creating progeny!