gravatar for theodore.killian

2 hours ago by


I want to get all GO terms for a particular organism. Additionally, I want to get all of the ENTREZIDs

My problem is that (for example) GOID GO:0032501 does not appear in the list from the query below:

go_list <- mapIds(, keys(, "GO"),
                  "ENTREZID", "GO", multiVals = "list")

Furthermore, using a different query (shown below), GOID GO:0032501 does appear in the list but there are no ENTREZIDs associated with it:

go_list <- as.list(org.Hs.egGO2ALLEGS)

Whereas when I run this query, GOID GO:0032501 does appear in the list and there are ENTREZIDs associated with it:

egGO2ALLEGS <- getFromNamespace("org.Hs.egGO2ALLEGS", "")
GeneID.PathID <- AnnotationDbi::toTable(egGO2ALLEGS)

Does anyone know why this is?

Source link