powered by
addAncestors(go.ids, ontology = c("bp", "cc", "mf"))
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")
Run the code above in your browser using DataLab