Learn R Programming

limma (version 3.22.7)

topGO: Table of Top GO Terms

Description

Extract top GO terms from goana results.

Usage

topGO(results, ontology = c("BP", "CC", "MF"), sort = NULL, number = 20L)

Arguments

results
data frame produced by goana.
ontology
character vector of ontologies to be included in output. Elements should be one or more of "BP", "CC" or "MF".
sort
name of gene set for which results are required. Should be one of the column names of results. Defaults to first set.
number
maximum number of top GO terms to list. For all terms, set number=Inf.

Value

Same as results but with rows subsetted by Ontology and sorted by the specified p-value.

Details

This function is organize the output from goana into top-tables of the most significant GO terms.

See Also

goana, goana.MArrayLM

Examples

Run this code
# See goana and goana.MArrayLM examples

Run the code above in your browser using DataLab