propagateGO {mdgsa} | R Documentation

## Propagate Gene Ontology annotation.

### Description

Genes annotated under a GO term inherit the annotation from all its ancestors.

### Usage

    propagateGO(annot, verbose = FALSE)

### Arguments

`annot` | annotation list or matrix.
`verbose` | verbose

### Details

Uses the library GO.db.

### Value

A annotation matrix or list with the propagated annotation.

### Author(s)

David Montaner dmontaner@cipf.es

### See Also

`annotMat2list`, `annotFilter`

### Examples

    mat <- cbind (c("gene1", "gene2"), c("GO:0034390", "GO:0042889"))
    mat
    propagateGO (mat)

    li <- list ('GO:0034390' = "gene1", 'GO:0042889' = "gene2")
    li
    propagateGO (li)

[Package mdgsa version 1.20.0 Index]