invalid names for slots of class GOHyperGResult
0
0
Entering edit mode
@laianavarromartin-7750
Last seen 7.0 years ago
Spain

 

Hi,

I'm having some issues running the "hyperGTest" function from GOstats. I get the following error:

Error in initialize(value, ...) : 
  invalid names for slots of class “GOHyperGResult”: pvalues, oddsRatios, expectedCounts, catToGeneId, organism

Here the code I use:

library( GO.db)
library(org.Dr.eg.db)
library (GOstats)

pCutoff <- 0.05
params <- new("GOHyperGParams",
               geneIds=commonGenes,
               universeGeneIds=BPA,
               annotation= "org.Dr.eg.db",
               ontology="BP",
               pvalueCutoff=pCutoff,
               conditional=FALSE,
               testDirection="over")

GOHyperBP_over <- hyperGTest(params)

 

sessionInfo()

R version 3.3.2 (2016-10-31)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: macOS Sierra 10.12.6

locale:
[1] en_CA.UTF-8/en_CA.UTF-8/en_CA.UTF-8/C/en_CA.UTF-8/en_CA.UTF-8

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

other attached packages:
 [1] GOstats_2.40.0       graph_1.52.0         DBI_0.7              org.Dr.eg.db_3.4.0   GO.db_3.4.0          Category_2.40.0     
 [7] Matrix_1.2-12        AnnotationDbi_1.36.2 IRanges_2.8.2        S4Vectors_0.12.2     Biobase_2.34.0       BiocGenerics_0.20.0 

loaded via a namespace (and not attached):
 [1] Rcpp_0.12.13           cellranger_1.1.0       bitops_1.0-6           tools_3.3.2            digest_0.6.12          bit_1.1-12            
 [7] annotate_1.52.1        RSQLite_2.0            memoise_1.1.0          tibble_1.3.4           lattice_0.20-35        pkgconfig_2.0.1       
[13] rlang_0.1.4            yaml_2.1.14            genefilter_1.56.0      knitr_1.17             bit64_0.9-7            grid_3.3.2            
[19] GSEABase_1.36.0        XML_3.98-1.9           RBGL_1.50.0            survival_2.41-3        blob_1.1.0             splines_3.3.2         
[25] AnnotationForge_1.16.1 xtable_1.8-2           RCurl_1.95-4.8       

 

gostats • 1.3k views
ADD COMMENT

Login before adding your answer.

Traffic: 889 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6