I have been using clusterProfiler for GO analysis, and I only need to enter the gene ID to get the result. But now I need to analyze some gene that is not annotated, and I get the predicted GO function as follows:
A GO:0008150 0.975 bp biological_process A GO:0009987 0.869 bp cellular process A GO:0051234 0.862 bp establishment of localization B GO:0051179 0.862 bp localization
I would like to know what method can be used to directly perform enrichment analysis on GO ID instead of using gene ID?
1 answer
Enrichment works because each gene product is annotated with multiple GO terms.
Gene A --> GO1, GO2, GO3
Gene B --> GO1, GO5, GO6
In the toy example, we can see an "enrichment" for GO term GO1, since both genes are annotated with it.
Is unclear what you mean by directly performing enrichment on GO ID alone.
Log in to answer this question.