getAllGO {davidTiling}R Documentation

Get all GO categories for a list of genes.

Description

The function uses the GO categories in the data.frame gff to obtain annotated GO categories, then the GO**ANCESTOR data in the GO package to add all parent terms as well.

Usage

getAllGO(x, gff) 

Arguments

x character vector.
gff data.frame with columns feature, Name, and (Ontology_term or attributes), see details

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>

Examples






[Package davidTiling version 1.2.4 Index]