addAncestors

0th

Percentile

Add GO IDs of the ancestors for a given vector of GO ids

Add GO IDs of the ancestors for a given vector of GO IDs leveraging GO.db package

Keywords
misc
Usage
addAncestors(go.ids, ontology = c("bp", "cc", "mf"))
Arguments
go.ids
A matrix with 4 columns: first column is GO IDs and 4th column is entrez IDs.
ontology
bp for biological process, cc for cellular component and mf for molecular function
Value

A vector of GO IDs containing the input GO IDs with the GO IDs of their ancestors added

Aliases
  • addAncestors
Examples
go.ids = cbind(c("GO:0008150", "GO:0005576", "GO:0003674"),
               c("ND", "IDA", "ND"), 
               c("BP", "BP", "BP"), c("1", "1", "1"))
addAncestors(go.ids, ontology="bp")
Documentation reproduced from package ChIPpeakAnno, version 3.6.5, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.