Learn R Programming

mdgsa (version 1.4.2)

propagateGO: 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

Value

  • A annotation matrix or list with the propagated annotation.

Details

Uses the library GO.db.

See Also

annotMat2list, annotFilter

Examples

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

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

Run the code above in your browser using DataLab