GOHyperG {davidTiling}R Documentation

Hypergeometric test for GO category enrichment.

Description

This function is adapted from the function of the same name in GOstats package. Main difference is that it draws the GO annotations of the genes in candidates from the data.frame gff. It also draws a plot.

Usage

GOHyperG(candidates, gff, plotmain)

Arguments

candidates character vector
gff see getAllGO
plotmain character, plot title

Details

The elements of x are matched against the column gene in gff. All are required to match. A list of GO terms is then extracted from the corresponding rows in the Ontology_term column. A gene may be annotated by several terms, separated by ",". Then the GO package is used to augment this by all ancestor terms.

Value

List of character vectors.

Author(s)

W. Huber <huber@ebi.ac.uk>

See Also

getAllGO


[Package davidTiling version 1.2.8 Index]