Hello,
I have read all comments about the following error comes from GOstat package,
> res <- summary(hgOver,pvalue=hgCutoff) Error in .checkKeys(value, Lkeys(x), x@ifnotfound) : value for "GO:0098856" not found Error during wrapup: cannot open the connection
> traceback() No traceback available
Almost all said that if we update all corresponding packages this error can be resolved. However, I updated my R as well as all other packages but still get this error.
I really appreciate a lot your help.
Here is my code:
library(org.Dm.eg.db) library(GOstats) library(DBI) onto <- "BP" hgCutoff <- 0.05 annot <- "org.Dm.eg.db"
> params=new("GOHyperGParams", geneIds = genes,universeGeneIds = universe_genes, annotation = annot,ontology = onto, pvalueCutoff = hgCutoff, conditional = FALSE,testDirection = "over") > hgOver=hyperGTest(params) > summary <- getGeneric("summary") > res <- summary(hgOver,pvalue=hgCutoff) Error in .checkKeys(value, Lkeys(x), x@ifnotfound) : value for "GO:0098856" not found Error during wrapup: cannot open the connection > traceback() No traceback available
> sessionInfo() R version 3.3.0 (2016-05-03) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 7 x64 (build 7601) Service Pack 1 locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 [3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C [5] LC_TIME=English_United States.1252 attached base packages: [1] stats4 grid parallel stats graphics grDevices utils datasets methods base other attached packages: [1] DBI_0.4-1 GOstats_2.39.0 graph_1.48.0 Category_2.36.0 [5] GO.db_3.3.0 Matrix_1.2-6 org.Dm.eg.db_3.3.0 AnnotationDbi_1.35.3 [9] DESeq2_1.13.2 SummarizedExperiment_1.2.2 Biobase_2.30.0 GenomicRanges_1.25.0 [13] GenomeInfoDb_1.6.3 IRanges_2.7.1 S4Vectors_0.11.2 BiocGenerics_0.19.0 [17] edgeR_3.12.1 elasticnet_1.1 lars_1.2 DeMAND_1.2.0 [21] KernSmooth_2.23-15 psych_1.6.4 igraph_1.0.1 fields_8.4-1 [25] maps_3.1.0 spam_1.3-0 Hmisc_3.17-4 Formula_1.2-1 [29] lattice_0.20-33 R.utils_2.3.0 R.oo_1.20.0 R.methodsS3_1.7.1 [33] penalized_0.9-46 survival_2.39-4 samr_2.0 matrixStats_0.50.2 [37] impute_1.44.0 timecourse_1.42.0 MASS_7.3-45 ggplot2_2.1.0 [41] venneuler_1.1-0 rJava_0.9-8 limma_3.26.9 loaded via a namespace (and not attached): [1] splines_3.3.0 statmod_1.4.24 latticeExtra_0.6-28 RBGL_1.46.0 [5] RSQLite_1.0.0 chron_2.3-47 RColorBrewer_1.1-2 XVector_0.13.0 [9] colorspace_1.2-6 plyr_1.8.3 GSEABase_1.32.0 XML_3.98-1.4 [13] genefilter_1.52.1 zlibbioc_1.16.0 xtable_1.8-2 scales_0.4.0 [17] BiocParallel_1.4.3 annotate_1.51.0 nnet_7.3-12 mnormt_1.5-4 [21] magrittr_1.5 foreign_0.8-66 tools_3.3.0 data.table_1.9.6 [25] munsell_0.4.3 locfit_1.5-9.1 cluster_2.0.4 lambda.r_1.1.7 [29] futile.logger_1.4.1 AnnotationForge_1.12.2 marray_1.48.0 gtable_0.2.0 [33] gridExtra_2.2.1 futile.options_1.0.0 Rcpp_0.12.5 geneplotter_1.48.0 [37] rpart_4.1-10 acepack_1.3-3.3 |
Hi,
Thanks a lot for your response.
I did all you've mentioned as follow:
This sounds very strange to me.
Regarding summary, you understood it correctly and I used the same as your suggestion, but still I get the same error.
I appreciate it a lot if you could help in this regard.