Description Usage Arguments Details Value Note Author(s) Examples
Given a list of GO IDs, add the corresponding ancestor GO IDs.
1 | addAncestorGO(go)
|
go |
A |
The ancestor GO IDs for each GO ID are added to the elements.
A list
of GO IDs with their ancestor GO IDs.
This function is mainly designed for processing the gff annotation generated from interproscan, where for each gene, a set of GO IDs are assigned. However, for GO enrichment analysis, we need a list of mapping from genes to the GO IDs and their ancestor GO IDs as well.
Ge Tan
1 2 3 4 5 |
library(GO.db)
go <- list(c("GO:0005215", "GO:0006810", "GO:0016020"), "GO:0016579")
addAncestorGO(go)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.