getGoID {PloGO2} | R Documentation |
This function is rather slow and inefficient, as it first extracts all GO terms then matches the current one. However, it in only intended for a one off matching of terms of interest to the respective nodes.
getGoID(v)
v |
the precise spelling of the go term |
The list of matched terms, with names the respective GO ID's/
D. Pascovici
getGoID(c("biological_process", "transport")) # however the next one is not found as the proper term name has an # underscore "cellular_component" getGoID("cellular component")