getAncestors {GOSim} | R Documentation

## get list of ALL ancestors associated to each GO term

### Description

Returns the list of all (also indirect) ancestors (= less specific terms) associated to each GO term. The type of relationship between GO terms ("is a" or "part of") is ignored.

### Usage

    getAncestors()

### Value

List with entry names for each GO term. Each entry contains a character vector with the ancestor GO terms.

### Note

The result is computed within the currently set ontology ("BP","MF","CC"). It directly uses the "GO" library to compute the result.

### Author(s)

Holger Froehlich

### See Also

`getOffsprings`, `getChildren`, `getParents`, `setOntology`

### Examples

    	getAncestors()

[Package GOSim version 1.28.0 Index]