Hi all,
I am running a gene ontology enrichment analysis with the GOstats package as follows:
```{r} params <- new("GOHyperGParams", geneIds = targetentrez, universeGeneIds = universeentrez, annotation = "org.Hs.eg.db", ontology = "BP", pvalueCutoff = 1, conditional = TRUE, testDirection = "over") hgOvergt <- hyperGTest(params) goresults <- summary(hgOver_gt)
Which yields a nice data frame with the enriched GO terms. Now, I want to know which genes in my target list are found in each enriched term:
```{r}
probeSetSummary(hgOver_gt)
But I get the following error:
{r}
Error in `[.default`(tab, , 1) : incorrect number of dimensions
I'm not sure if this is a bug or I am doing something wrong. I would be most grateful if you could shed some light into the matter.
Best
Ramon