getParents {GOSim} | R Documentation

## Get direct parents for each GO term.

### Description

Returns the list of all direct parents ( = less specific terms one hiearchy level up) associated to each GO term. The type of relationship between GO terms ("is a" or "part of") is ignored.

### Usage

    getParents()

### Value

List with entry names for each GO term. Each entry contains a character vector with the direct parent 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`, `getAncestors`, `setOntology`

### Examples

     getParents()

[Package GOSim version 1.32.0 Index]