Table of Top GO Terms or Top KEGG Pathways
Extract top GO terms from goana output or top KEGG pathways from kegga output.
topGO(results, ontology = c("BP", "CC", "MF"), sort = NULL, number = 20L, truncate.term = NULL) topKEGG(results, sort = NULL, number = 20L, truncate.path = NULL)
results |
|
ontology |
character vector of ontologies to be included in output. Elements should be one or more of |
sort |
character vector of names of gene lists for which results are required. Should be one or more of the column names of |
number |
maximum number of top GO terms or top KEGG pathways to list. For all terms or all pathways, set |
truncate.term |
truncate the name of the GO term at this number of characters. |
truncate.path |
truncate the name of the KEGG pathway at this number of characters. |
Same as results
but with rows subsetted by Ontology and sorted by p-value.
Gordon Smyth and Yifang Hu
See 10.GeneSetTests for a description of other functions used for gene set testing.
# See goana examples
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.