topGO {limma} | R Documentation |
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. |
topGO
organizes the output from goana
into top-tables of the most significant GO terms.
topKEGG
similarly extracts the most significant KEGG pathways from kegga
output.
In either case, rows are sorted by the minimum p-value of any of the result columns specified by sort
.
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